Skip to content

What's the advantage of LaunchUriAsync over Process.Start to launch default browser with uri? #17543

Answered by maxkatz6
TangDave asked this question in Q&A
Discussion options

You must be logged in to vote

LaunchUriAsync is designed to abstract launching URI code from platform specific details. Even Process.Start doesn't have a specific right way to do that for all desktop platform, you need to write slightly different commands for different OS. And obviously it won't work for non-desktop platforms.

but have run into some problems with Linux - is LaunchUriAsync designed to work on Linux more reliably?

It should work. Not necessary more reliably, but definitely easier to use.
If there is a problem, you can report an issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TangDave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants