DownloadProgressChanged不触发?
这两个事件都在线程中运行, 但是为什么DownloadProgressChanged事件不触发,但是DownloadFileCompleted却触发,请问这是为什么
另外,我下载下来的文件都是0字节,根本不能用,这又是为什么?
AddHandler clientDownload.DownloadProgressChanged, New DownloadProgressChangedEventHandler(AddressOf OnDownloadProgressChanged)
AddHandler clientDownload.DownloadFileCompleted, New AsyncCompletedEventHandler(AddressOf OnDownloadFileCompleted)
evtPerDonwload.Reset()
clientDownload.DownloadFileAsync(New Uri(UpdateAddress & dr.Item(0)), tempFolder & "\" & dr.Item(0).ToString, dr)