Windows通用应用程序打开带有链接的webbrowser

Windows通用应用程序打开带有链接的webbrowser,windows,universal,Windows,Universal,我正在制作一个通用应用程序,当我点击某个按钮时,我需要打开带有链接的webbrowser。我将链接作为变量中的字符串获取,但windows 7/8应用程序的方式(如“进程”和Webbrowser对象)会出现错误。在windows应用程序中,您不能简单地打开其他应用程序/程序。 唯一的可能性是使用发射器: Windows.System.Launcher.LaunchUriAsync(new Uri("http://www.google.de")); 启动器将查找与uri方案关联的默认程序/应用程

我正在制作一个通用应用程序,当我点击某个按钮时,我需要打开带有链接的webbrowser。我将链接作为变量中的字符串获取,但windows 7/8应用程序的方式(如“进程”和Webbrowser对象)会出现错误。

在windows应用程序中,您不能简单地打开其他应用程序/程序。 唯一的可能性是使用发射器:

Windows.System.Launcher.LaunchUriAsync(new Uri("http://www.google.de"));

启动器将查找与uri方案关联的默认程序/应用程序(在本例中为WebBrowser的“http://”),并转发此调用。在windows应用程序中,您不能简单地打开其他应用程序/程序。 唯一的可能性是使用发射器:

Windows.System.Launcher.LaunchUriAsync(new Uri("http://www.google.de"));

启动器将查找与uri方案关联的默认程序/应用程序(在本例中为WebBrowser的“http://”),并转发此调用。在windows应用程序中,您不能简单地打开其他应用程序/程序。 唯一的可能性是使用发射器:

Windows.System.Launcher.LaunchUriAsync(new Uri("http://www.google.de"));

启动器将查找与uri方案关联的默认程序/应用程序(在本例中为WebBrowser的“http://”),并转发此调用。在windows应用程序中,您不能简单地打开其他应用程序/程序。 唯一的可能性是使用发射器:

Windows.System.Launcher.LaunchUriAsync(new Uri("http://www.google.de"));

启动器查找与uri方案关联的默认程序/应用程序(在本例中,WebBrowser的“http://”)然后转发此呼叫。应用程序清单使用web控件将起始页更改为所需的URL或其他方法。将源设置为所需的URL。

其他则可以在上面进行打包。应用程序清单使用web控件集将起始页更改为所需的URL或其他方法将源设置为您所需的URL。

您可以转到上面的其他人。应用程序清单使用web控件将起始页更改为您所需的URL或其他方法将源设置为您所需的URL。

您可以转到上面的其他人。应用程序清单使用web控件将起始页更改为您所需的URL或其他方法控件将源设置为所需的URL。

使用scope async,它将为UWP打开指向移动PC默认浏览器的链接

    private async void Button_Click(object sender, RoutedEventArgs e)
    {
        await Windows.System.Launcher.LaunchUriAsync(new Uri("http://www.fmradiotune.blogspot.com"));
    }

使用scope async,它将为UWP打开指向移动PC默认浏览器的链接

    private async void Button_Click(object sender, RoutedEventArgs e)
    {
        await Windows.System.Launcher.LaunchUriAsync(new Uri("http://www.fmradiotune.blogspot.com"));
    }

使用scope async,它将为UWP打开指向移动PC默认浏览器的链接

    private async void Button_Click(object sender, RoutedEventArgs e)
    {
        await Windows.System.Launcher.LaunchUriAsync(new Uri("http://www.fmradiotune.blogspot.com"));
    }

使用scope async,它将为UWP打开指向移动PC默认浏览器的链接

    private async void Button_Click(object sender, RoutedEventArgs e)
    {
        await Windows.System.Launcher.LaunchUriAsync(new Uri("http://www.fmradiotune.blogspot.com"));
    }
使用--wait Windows.System.Launcher.launchurisync(新Uri(“);并使作用域异步使用--wait Windows.System.Launcher.launchurisync(新Uri(“);使作用域异步使用——等待Windows.System.Launcher.LaunchUriAsync(新Uri(“);使作用域异步使用——等待Windows.System.Launcher.LaunchUriAsync(新Uri(“));并使作用域异步