Click or drag to resize

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
)

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