Property StartDownloadHandler
- Namespace
- DotNetBrowser.Browser
- Assembly
- DotNetBrowser.dll
StartDownloadHandler
Gets or sets a handler that is used when the browser is about to start downloading the file.
IHandler<StartDownloadParameters, StartDownloadResponse> StartDownloadHandler { get; set; }
Property Value
Remarks
Use the DownloadTo(string) method to confirm the download and specify the location to store the downloaded file.
Use theCancel() method if you do not need to download the file.
If an exception occurs inside the handler implementation, the default behavior will be applied - the method Cancel() will be used.
Exceptions
- ObjectDisposedException
The IDownloads has already been disposed.