Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42292

Downloading Multiple files with DownloadFileASync and then Identifying The File

$
0
0
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 42292

Trending Articles