| 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
)
Public Shared Function DownloadFile (
config As BenchConfiguration,
url As Uri,
targetFile As String
) As Boolean
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:
Booleantrue if the download was successful; otherwise
false.
See Also