Home All Groups Group Topic Archive Search About

WebClient.DownloadFileAsync

Author
8 Nov 2006 1:19 AM
Eric Johnson
I am running into a problem with WebClient's DownloadFileAsync.  In the
middle of a download, I can unplug the network connection to force an
error but the disconnect exception never makes it back to my client
code.  The event DownloadFileCompleted gets fired but the
AsyncCompletedEventArgs parameter has property values of Cancelled =
false and Error = null.

Any idea what's going on and/or how to fix it?

Thanks,
Eric

AddThis Social Bookmark Button