Click or drag to resize

CefDownloadHandlerOnBeforeDownload Method

Called before a download begins. |suggested_name| is the suggested name for the download file. By default the download will be canceled. Execute |callback| either asynchronously or in this method to continue the download if desired. Do not keep a reference to |download_item| outside of this method.

Namespace: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
protected virtual void OnBeforeDownload(
	CefBrowser browser,
	CefDownloadItem downloadItem,
	string suggestedName,
	CefBeforeDownloadCallback callback
)

Parameters

browser  CefBrowser
 
downloadItem  CefDownloadItem
 
suggestedName  String
 
callback  CefBeforeDownloadCallback
 
See Also