Click or drag to resize

StartDownloadResponseDownloadTo Method

Creates a StartDownloadResponse that notifies the engine that the file should be downloaded into a specific location.

Namespace:  DotNetBrowser.Downloads.Handlers
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.13.0
Syntax
C#
public static StartDownloadResponse DownloadTo(
	string filePath
)

Parameters

filePath
Type: SystemString
The absolute path to store the downloaded file.

Return Value

Type: StartDownloadResponse
The StartDownloadResponse instance that can be used as a return value in StartDownloadHandler implementation.
Exceptions
ExceptionCondition
ArgumentExceptionThe filePath is null, empty, or contains only blank characters.
See Also