DotNetBrowser
1.21.5
|
Basic implementation of the DownloadHandler. More...
Inherits DotNetBrowser.DownloadHandler.
Inherited by DotNetBrowser.WinForms.WinFormsDefaultDownloadHandler, and DotNetBrowser.WPF.WPFDefaultDownloadHandler.
Public Member Functions | |
abstract bool | AllowDownload (DownloadItem downloadItem) |
This method is invoked when Browser is going to download a file. The download parameter contains all information about the the file which is going to be downloaded. More... | |
Properties | |
static DownloadMode | DownloadMode [get, set] |
Gets or sets the file download handler mode that will be invoked every time when requests file download. Primary DownloadHandlerMode has More... | |
Basic implementation of the DownloadHandler.
|
pure virtual |
This method is invoked when Browser is going to download a file. The download parameter contains all information about the the file which is going to be downloaded.
To suppress file download, this method must return FALSE.
By default the file will be downloaded into application's working directory. You can get or set the absolute file path using the DownloadItem.DestinationFile property.
downloadItem | information about the file that will be downloaded. |
Implements DotNetBrowser.DownloadHandler.
Implemented in DotNetBrowser.WinForms.WinFormsDefaultDownloadHandler, and DotNetBrowser.WPF.WPFDefaultDownloadHandler.
|
staticgetset |
Gets or sets the file download handler mode that will be invoked every time when requests file download. Primary DownloadHandlerMode has
Default
mode. It means that download dialog displayed. When it is in Silent
mode it means that download dialog isn't displayed and file will be downloaded into application's working directory.