C# - Apps: launch file or uri

By , 4/11/2015
(0 ratings)
It is possible to launch a file or an uri in Windows Apps. The file must be given as a standard StorageFile object. The uri can use any common or app specific protocol.

Required namespace
await Launcher.LaunchFileAsync(myStorageFile);

await Launcher.LaunchUriAsync(new Uri("protokoll://Daten"));

Tagged with WindowsStoreApp, File, Protocol, launch.



Log in, to comment!