The IDownloadService type exposes the following members.
Methods| | Name | Description |
|---|
 | AddLogger |
Add logger class to log the Downloader events
|
 | CancelAsync |
Cancels the current download operation asynchronously.
|
 | CancelTaskAsync |
Cancels the current download operation asynchronously and returns a Task object that represents the cancellation operation.
|
 | Clear |
Clears any data related to the current download operation.
|
 | DownloadFileTaskAsync(DownloadPackage, CancellationToken) |
Asynchronously resume downloads a file and returns a Stream object that contains the downloaded file data.
|
 | DownloadFileTaskAsync(String, CancellationToken) |
Asynchronously downloads a file from the specified URL and returns a Stream object that contains the downloaded file data.
|
 | DownloadFileTaskAsync(String, CancellationToken) |
Asynchronously downloads a file from the specified URL and returns a Stream object that contains the downloaded file data.
|
 | DownloadFileTaskAsync(DownloadPackage, String, CancellationToken) |
Asynchronously resume downloads a file from the specified URL and returns a Stream object that contains the downloaded file data.
|
 | DownloadFileTaskAsync(DownloadPackage, String, CancellationToken) |
Asynchronously resume downloads a file from the specified URL and returns a Stream object that contains the downloaded file data.
|
 | DownloadFileTaskAsync(String, DirectoryInfo, CancellationToken) |
Asynchronously downloads a file from the specified URL and saves it to the specified directory.
|
 | DownloadFileTaskAsync(String, String, CancellationToken) |
Asynchronously downloads a file from the specified URL and saves it to the specified file name.
|
 | DownloadFileTaskAsync(String, DirectoryInfo, CancellationToken) |
Asynchronously downloads a file from the specified URL and saves it to the specified directory.
|
 | DownloadFileTaskAsync(String, String, CancellationToken) |
Asynchronously downloads a file from the specified URL and saves it to the specified file name.
|
 | Pause |
Pauses the current download operation. In this way, you can resume the download very quickly.
|
 | Resume |
Resumes a paused download operation.
|
Top
See Also