| BenchTasksDownloadFileAsync Method |
Downloads a file via HTTP(S) asynchronously.
Namespace:
Mastersign.Bench
Assembly:
BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax public static void DownloadFileAsync(
BenchConfiguration config,
Uri url,
string targetFile,
FileDownloadResultHandler resultHandler
)
Public Shared Sub DownloadFileAsync (
config As BenchConfiguration,
url As Uri,
targetFile As String,
resultHandler As FileDownloadResultHandler
)
Parameters
- config
- Type: Mastersign.BenchBenchConfiguration
The Bench configuration. - url
- Type: SystemUri
The URL of the HTTP resource. - targetFile
- Type: SystemString
A path to the target file. - resultHandler
- Type: Mastersign.BenchFileDownloadResultHandler
The handler to process the download result.
See Also