Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private async void AddStart_Click(object sender, RoutedEventArgs e)
- {
- StorageFile x= await ApplicationData.Current.LocalFolder.CreateFileAsync("Immagine.png", CreationCollisionOption.ReplaceExisting);
- Uri uri = new Uri(muss.Immagine, UriKind.RelativeOrAbsolute);
- BackgroundDownloader downloader = new BackgroundDownloader();
- DownloadOperation download = downloader.CreateDownload(uri, x);
- await download.StartAsync();
- string uriString = x.Path;
- Uri newww = new Uri(uriString);
- SecondaryTile tile = new SecondaryTile("OpenArte", "Open ARTe of Italy", "Open ARTe of Italy", "15", TileOptions.ShowNameOnLogo, newww);
- await tile.RequestCreateAsync();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement