CefDownloadHandler OnBeforeDownload Method Xilium.CefGlue

[This is preliminary documentation and is subject to change.]

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: Xilium.CefGlue
Assembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax

protected virtual void OnBeforeDownload(
	CefBrowser browser,
	CefDownloadItem downloadItem,
	string suggestedName,
	CefBeforeDownloadCallback callback
)

Parameters

browser
Type: Xilium.CefGlue CefBrowser

[Missing <param name="browser"/> documentation for "M:Xilium.CefGlue.CefDownloadHandler.OnBeforeDownload(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefDownloadItem,System.String,Xilium.CefGlue.CefBeforeDownloadCallback)"]

downloadItem
Type: Xilium.CefGlue CefDownloadItem

[Missing <param name="downloadItem"/> documentation for "M:Xilium.CefGlue.CefDownloadHandler.OnBeforeDownload(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefDownloadItem,System.String,Xilium.CefGlue.CefBeforeDownloadCallback)"]

suggestedName
Type: OnlineSystem String

[Missing <param name="suggestedName"/> documentation for "M:Xilium.CefGlue.CefDownloadHandler.OnBeforeDownload(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefDownloadItem,System.String,Xilium.CefGlue.CefBeforeDownloadCallback)"]

callback
Type: Xilium.CefGlue CefBeforeDownloadCallback

[Missing <param name="callback"/> documentation for "M:Xilium.CefGlue.CefDownloadHandler.OnBeforeDownload(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefDownloadItem,System.String,Xilium.CefGlue.CefBeforeDownloadCallback)"]

See Also