Downloader
Downloader copied to clipboard
Download Failed
If the download was failed. How do i know? For example, the user's internet is disconnected.
Download completed events that can include occurring errors or cancelled or download completed successfully.
downloader.DownloadFileCompleted += OnDownloadFileCompleted;
Hello , I disconnected my wifi but "OnDownloadFileCompleted" is not working!
I checked it and worked for me.
Maybe you assigned int.MaxValue
for DownloadConfiguration.MaxTryAgainOnFailover
. So, the Downloader tried again and failed again and repeated indefinitely.
Please check the MaxTryAgainOnFailover
option and if it's less than 5 and also doesn't work, send me a part of your configuration or application to will be checked.
var config = new DownloadConfiguration {
MaxTryAgainOnFailover = 1, // the maximum number of times to fail
Timeout = 500, // timeout (millisecond) per stream block reader, default values is 1000
}
Could you had solve your problem? @ZCOREP
Yes Thanks