Windows 10 WebView - 应用程序在某些系统上不起作用

时间:2017-02-16 20:17:57

标签: webview windows-10 windows-10-universal

我的Windows 10 UWP WebView应用程序在某些系统上无法运行。它呈现一些HTML,然后不对任何点击/点击做出反应。在我的电脑上,一切正常。在笔记本上?一切还好!随机笔记本电脑?不工作。其他随机设备?作品!

Dim localSettings As Windows.Storage.ApplicationDataContainer = Windows.Storage.ApplicationData.Current.LocalSettings
Dim serial As String = localSettings.Values("serial")
If (serial Is Nothing) Then
    Dim request As WebRequest = WebRequest.Create("https://************.php")
    Using response As WebResponse = Await request.GetResponseAsync()
        Using reader As New StreamReader(response.GetResponseStream())
            serial = reader.ReadToEnd()
            localSettings.Values("serial") = serial
        End Using
    End Using
End If

Dim u As Uri = New Uri("https://*********.php?x=y&serial=" & serial)

TheWebView.Navigate(u)的

0 个答案:

没有答案