Process.Start(url) broken on Windows 8/Chrome - are there alternatives?

后端 未结 5 1694
野的像风
野的像风 2020-12-09 16:21

To open a URL from a .NET application, many sites (including on StackOverflow) cite this example:

Process.Start(\"http://www.google.com/\");
<
5条回答
  •  孤街浪徒
    2020-12-09 16:48

    Use the Launcher object to open URLs.

    Example:

    await Launcher.LaunchUriAsync(new Uri("www.google.com"));
    

提交回复
热议问题