DownloadHandlerOnBeforeDownload Method |
Version 93.1.111
Called before a download begins.
Namespace:
CefSharp.Fluent
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 93.1.111.0
Syntax protected override void OnBeforeDownload(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
DownloadItem downloadItem,
IBeforeDownloadCallback callback
)
protected:
virtual void OnBeforeDownload(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
DownloadItem^ downloadItem,
IBeforeDownloadCallback^ callback
) override
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