Click or drag to resize

DownloadHandler Class

Version 130.1.90
A IDownloadHandler implementation used by DownloadHandlerBuilder to provide a fluent means of creating a IDownloadHandler.
Inheritance Hierarchy
SystemObject
  CefSharp.HandlerDownloadHandler
    CefSharp.FluentDownloadHandler

Namespace: CefSharp.Fluent
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public class DownloadHandler : DownloadHandler

The DownloadHandler type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAskUser Creates a new IDownloadHandler instances where a default "Save As" dialog is displayed to the user.
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).
(Overrides DownloadHandlerCanDownload(IWebBrowser, IBrowser, String, String))
Public methodStatic memberCreate Create a new DownloadHandler Builder
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.
(Overrides DownloadHandlerOnBeforeDownload(IWebBrowser, IBrowser, DownloadItem, IBeforeDownloadCallback))
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).
(Overrides DownloadHandlerOnDownloadUpdated(IWebBrowser, IBrowser, DownloadItem, IDownloadItemCallback))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberUseFolder Creates a new IDownloadHandler instances where all downloads are automatically downloaded to the specified folder. No dialog is dispolayed to the user.
Top
See Also