Class FileDownloadManager.HttpClientWithProgress
An http client with progress based on source code from https://stackoverflow.com/questions/20661652/progress-bar-with-httpclient with modification
public class FileDownloadManager.HttpClientWithProgress : HttpClient, IDisposable
- Inheritance
-
FileDownloadManager.HttpClientWithProgress
- Implements
- Inherited Members
Constructors
HttpClientWithProgress()
public HttpClientWithProgress()
Methods
DownloadFileTaskAsync(string, string)
Download file asynchronously
public Task DownloadFileTaskAsync(string downloadUrl, string destinationFilePath)
Parameters
Returns
- Task
The task
Events
DownloadProgressChanged
Handle download download progress change.
public event FileDownloadManager.DownloadProgressChangedEventHandler DownloadProgressChanged