Advertisement
Guest User

Untitled

a guest
Apr 25th, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. private async void AddStart_Click(object sender, RoutedEventArgs e)
  2. {
  3. StorageFile x= await ApplicationData.Current.LocalFolder.CreateFileAsync("Immagine.png", CreationCollisionOption.ReplaceExisting);
  4.  
  5. Uri uri = new Uri(muss.Immagine, UriKind.RelativeOrAbsolute);
  6. BackgroundDownloader downloader = new BackgroundDownloader();
  7. DownloadOperation download = downloader.CreateDownload(uri, x);
  8. await download.StartAsync();
  9.  
  10. string uriString = x.Path;
  11.  
  12. Uri newww = new Uri(uriString);
  13.  
  14. SecondaryTile tile = new SecondaryTile("OpenArte", "Open ARTe of Italy", "Open ARTe of Italy", "15", TileOptions.ShowNameOnLogo, newww);
  15. await tile.RequestCreateAsync();
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement