Archived Forum Post

Index of archived forum posts

Question:

C# HTTP DownloadASync Timeout returning success

Aug 09 '17 at 11:41

I am downloading a large file and pulling the ethernet cable midway,

Task task = _http.DownloadAsync(url, zipDestination); task.Run();

When finished, task.StatusInt is still returning a value of 7 / Success

Should I be checking something else? Ex BgPercentDone


Answer

Check the task.ResultErrorText property to see what happened.