Click or drag to resize

DownloadHandler.OnBeforeDownload Method

Version 103.0.120
Called before a download begins.

Namespace:  CefSharp.Fluent
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 103.0.120.0
Syntax
protected override 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