IDownloadHandler.OnBeforeDownload Method |
Version 51.0.0
Called before a download begins.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 51.0.0.0 (51.0.0.0)
Syntaxvoid OnBeforeDownload(
IBrowser browser,
DownloadItem downloadItem,
IBeforeDownloadCallback callback
)
void OnBeforeDownload(
IBrowser^ browser,
DownloadItem^ downloadItem,
IBeforeDownloadCallback^ callback
)
Parameters
- 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