HttpWebRequest download file and progress bar
问题 I searched the net but couldn't find any way to get progress while downloading file with HttpWebRequest. Does this class support progress at all? Any link, tutorial, hint would be greatly appreciated. Thanks. P.S. Here's the code... private static Task<HttpResponse> MakeAsyncRequest(string requestString) { var request = (HttpWebRequest)WebRequest.Create(requestString); Task<WebResponse> requestTask = Task.Factory.FromAsync( request.BeginGetResponse, asyncResult => request.EndGetResponse