public void ButtonRecoveryDevices(object sender, RoutedEventArgs e) { if (this.DiscoveryClients == null) { return; } Windows.Foundation.IAsyncOperation <int> endpoints = this.DiscoveryClients.GetAvailableWSEndpointsAsync(); return; }
/// <summary> /// Event is fired by webview when the content is not a webpage, such as a file download /// </summary> /// <param name="sender"></param> /// <param name="args"></param> void FavoriteBrowser_UnviewableContentIdentified(WebView sender, WebViewUnviewableContentIdentifiedEventArgs args) { IsNavigationCompleted = true; Windows.Foundation.IAsyncOperation <bool> b = Windows.System.Launcher.LaunchUriAsync(args.Uri); //pageIsLoading = false; }
private void MyWebView_UnviewableContentIdentified(WebView sender, WebViewUnviewableContentIdentifiedEventArgs args) { Windows.Foundation.IAsyncOperation <bool> b = Windows.System.Launcher.LaunchUriAsync(args.Uri); }