Click or drag to resize

IDownloadHandlerOnBeforeDownload Method

Version 86.0.240
Called before a download begins.

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

Parameters

chromiumWebBrowser
Type: CefSharpIWebBrowser
the ChromiumWebBrowser control
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