XAML を使用して既定のブラウザーで URL を開く方法 ( windows-8 アプリケーション )
使用時:
Process.Start("http://www.google.com/");
エラー型または名前空間名 'Process' は名前空間 'System.Diagnostics' に存在しません (アセンブリ参照がありませんか?)
Launcher.LaunchUriAsyncメソッドを使用できます。
private async void LaunchSite(string siteAddress)
{
try
{
Uri uri = new Uri(siteAddress);
var launched = await Windows.System.Launcher.LaunchUriAsync(uri);
}
catch (Exception ex)
{
//handle the exception
}
}