Property CanAccessFileHandler
- Namespace
- DotNetBrowser.Net
- Assembly
- DotNetBrowser.dll
CanAccessFileHandler
Gets or sets a handler that is used when the Chromium engine is about to access the requested file. Can be used to disallow accessing the file.
IHandler<CanAccessFileParameters, CanAccessFileResponse> CanAccessFileHandler { get; set; }
Property Value
Remarks
Use the Can() method to allow access to the file.
Use the Cannot() method to disallow access to the file.
If exception occurs inside the handler, the default behavior will be applied - the Can() method will be used.
Exceptions
- ObjectDisposedException
The INetwork object has already been disposed.