Property AllowPluginHandler
- Namespace
- DotNetBrowser.Plugins
- Assembly
- DotNetBrowser.dll
AllowPluginHandler
Gets or sets a handler that is used when the engine wants to check whether a specific plugin is allowed or not.
IHandler<AllowPluginParameters, AllowPluginResponse> AllowPluginHandler { get; set; }
Property Value
Remarks
Use the Allow() method to allow the plugin.
Use the Deny() method to deny the plugin.
If an exception occurs inside the handler implementation, the default behavior will be applied - the method Allow() will be used.
Important: the engine will be blocked until the callback response is sent. It is not allowed to invoke any engine/browser methods in this callback.
Exceptions
- ObjectDisposedException
The IPlugins object has already been disposed.