Click or drag to resize

WebDownloadFileAsync Method

Starts an asyncronous download operation

Namespace:  Cauldron.Net
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static Task DownloadFileAsync(
	Uri uri,
	FileInfo resultFile
)

Parameters

uri
Type: SystemUri
The uri of the file
resultFile
Type: System.IOFileInfo
The file that the response will be written to.

Return Value

Type: Task

[Missing <returns> documentation for "M:Cauldron.Net.Web.DownloadFileAsync(System.Uri,System.IO.FileInfo)"]

Exceptions
ExceptionCondition
WebExceptionResponse status code does not indicate success
See Also