Click or drag to resize

IDownloadHandler Interface

Version 101.0.180
Class used to handle file downloads. The methods of this class will called on the CEF UI thread.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public interface IDownloadHandler

The IDownloadHandler type exposes the following members.

Methods
  NameDescription
Public methodCanDownload
Called before a download begins in response to a user-initiated action (e.g. alt + link click or link click that returns a `Content-Disposition: attachment` response from the server).
Public methodOnBeforeDownload
Called before a download begins.
Public methodOnDownloadUpdated
Called when a download's status or progress information has been updated. This may be called multiple times before and after OnBeforeDownload(IWebBrowser, IBrowser, DownloadItem, IBeforeDownloadCallback).
Top
See Also