Table of Contents

Method DownloadTo

Namespace
DotNetBrowser.Downloads.Handlers
Assembly
DotNetBrowser.dll

DownloadTo(string)

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

public static StartDownloadResponse DownloadTo(string filePath)

Parameters

filePath string

The absolute path to store the downloaded file.

Returns

StartDownloadResponse

The StartDownloadResponse instance that can be used as a return value in StartDownloadHandler implementation.

Exceptions

ArgumentException

The filePath is null, empty, or contains only blank characters.