Launcher v11.1 Preview!
The Launcher
allows you to open file or a URI link in the default app associated with the specified argument.
The Launcher
can be access through an instance of TopLevel
or Window
, for more details on accessing TopLevel
please visit TopLevel page:
var launcher = TopLevel.GetTopLevel(control).Launcher;
Methods
LaunchUriAsync
Starts the default app associated with the URI scheme name for the specified URI.
Task<bool> LaunchUriAsync(Uri uri)