Click or drag to resize
IDownloadHandlerOnBeforeDownload Method
Version 51.0.0
Called before a download begins.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 51.0.0.0 (51.0.0.0)
Syntax
void OnBeforeDownload(
	IBrowser browser,
	DownloadItem downloadItem,
	IBeforeDownloadCallback callback
)

Parameters

browser
Type: CefSharpIBrowser
The browser instance
downloadItem
Type: CefSharpDownloadItem
Represents the file being downloaded.
callback
Type: CefSharpIBeforeDownloadCallback
Callback interface used to asynchronously continue a download.
See Also