Click or drag to resize

DownloadHandler Class

Version 102.0.100
A IDownloadHandler implementation used by DownloadHandlerBuilder to provide a fluent means of creating a IDownloadHandler.
Inheritance Hierarchy

Namespace:  CefSharp.Fluent
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 102.0.100.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 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.
(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 methodToString
Returns 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