UWP Samples: Association Launching C#
Screenshots of the universal windows Platform sample:
Association Launching C# app
-> how to start an app with UWP
-> how to launch with warning
-> how to open an URI / URL
Launching a file
Launch default handler
Launching a file with LaunchFileAsync.
Launch a .png file with the default handler installed on the system.
If supported, let the user chose the handler for the .png file.
Launch Open With
Launch the file picker, and then launch the picked file.
Pick and launch
If supported, warn the user before launching.
Launch with warning
Launch the file picker, and then launch the picked file
with a preference for how much of the screen to leave for this app.
Launching a URI
Receiving a file
Receiving a URI