Click or drag to resize

BenchTasksDownloadFile Method

Downloads a file via HTTP(S).

Namespace:  Mastersign.Bench
Assembly:  BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax
public static bool DownloadFile(
	BenchConfiguration config,
	Uri url,
	string targetFile
)

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.

Return Value

Type: Boolean
true if the download was successful; otherwise false.
See Also