Click or drag to resize

IDownloadHandler.OnBeforeDownload Method

Version 113.3.50
Called before a download begins.

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

Parameters

chromiumWebBrowser
Type: CefSharp.IWebBrowser
the ChromiumWebBrowser control
browser
Type: CefSharp.IBrowser
The browser instance
downloadItem
Type: CefSharp.DownloadItem
Represents the file being downloaded.
callback
Type: CefSharp.IBeforeDownloadCallback
Callback interface used to asynchronously continue a download.
See Also