Quantcast
Viewing all articles
Browse latest Browse all 42367

Downloading Multiple files with DownloadFileASync and then Identifying The File

I am running this line multiple times

Code:

WebClient.DownloadFileCompleted, AddressOf DownloadCompleted
WebClient.DownloadFileAsync(New System.Uri(ImageURL), OutputFileName)

But I have no idea what to put inside DownloadCompleted() that would let me identify the WebClient instance and its associated file over any other.

In DownloadCompleted() how can I indentify which URL or output filename the webclient instance is associated with?

Please help! :) Thanks

Viewing all articles
Browse latest Browse all 42367

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>