Click or drag to resize

DownloadHandler Class

Version 130.1.90
Class used to handle file downloads. The methods of this class will called on the CEF UI thread.
Inheritance Hierarchy
SystemObject
  CefSharp.HandlerDownloadHandler
    CefSharp.FluentDownloadHandler

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

The DownloadHandler type exposes the following members.

Constructors
 NameDescription
Public methodDownloadHandlerInitializes 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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates 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 methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also