DownloadHandlerOnBeforeDownload Method |
Version 107.1.120
Called before a download begins.
Namespace:
CefSharp.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntaxprotected virtual void OnBeforeDownload(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
DownloadItem downloadItem,
IBeforeDownloadCallback callback
)
protected:
virtual 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