I'm using WebClient.DownloadFileAsync
to obtain a batch of files. However some files turn out to be incomplete, and there is no exception.
My question is, how to flag when a downloaded file is not complete? There is no md5 checksum to verify.
Code snippet is:
using (WebClient client = new WebClient())
{
Uri sUri = new Uri(sFileLink);
client.DownloadFileAsync(sUri, myPath);
}