这个问题说明了一切。基本上,我只是想知道在WinRT中的替代方案是:
的Process.Start(http://www.google.com/);
解决方案
在WinRT中,你可以使用 Windows.System.Launcher.LaunchUriAsync
启动与相关联的默认应用程序指定的URI。对于网络链接,默认的浏览器会被使用。
:Launcher.LaunchUriAsync(URI)| launchUriAsync(URI)方法
The question says it all. Basically, I just want to know the alternative for this in WinRT:
Process.Start("http://www.google.com/");
解决方案
In WinRT, you can use Windows.System.Launcher.LaunchUriAsync
to launch the default app associated with the specified URI. For a web link, the default browser would be used.
MSDN: Launcher.LaunchUriAsync(Uri) | launchUriAsync(Uri) method