IPluginsAllowPluginHandler Property |
Namespace: DotNetBrowser.Plugins
IHandler<AllowPluginParameters, AllowPluginResponse> AllowPluginHandler { get; set; }
Exception | Condition |
---|---|
ObjectDisposedException | The IPlugins object has already been disposed. |
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.