Guest User

Untitled

a guest
Jul 16th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. using (var wc = new System.Net.WebClient())
  2. {
  3. foreach (string url in UrlsToDownload())
  4. {
  5. string targetPath = SafeFilePathOf(url);
  6. wc.DownloadFile(url, targetPath);
  7. }
  8. }
Add Comment
Please, Sign In to add comment