Click or drag to resize

DownloadHandler Class

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

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
public class DownloadHandler : IDownloadHandler

The DownloadHandler type exposes the following members.

Constructors
  NameDescription
Public methodDownloadHandler
Initializes a new instance of the DownloadHandler class
Top
Methods
  NameDescription
Protected 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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnBeforeDownload
Called before a download begins.
Protected 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).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also