I can't seem to figure out how to download multiple files using DownloadFileAsync. How can I input a list as a URI?
My current code for a single download looks like this:
WebClient client = new WebClient();
client.Headers.Add("User-Agent", "Mozilla/4.0 (compatible; MSIE 8.0)");
client.DownloadProgressChanged += new DownloadProgressChangedEventHandler(client_DownloadProgressChanged);
client.DownloadFileCompleted += new AsyncCompletedEventHandler(client_DownloadFileCompleted);
// Starts the download
client.DownloadFileAsync(new Uri(chosenVersion), tbFolder.Text + chosenVersionFileName);
'chosenVersion' is just a link, say example.com/some.jpeg.
I just want to get all the downloads bundled into one progress bar while downloading at the same time.