DotNetBrowser  1.14
Public Member Functions | List of all members
DotNetBrowser.PluginFilter Interface Reference

A plugin filter that is used by Chromium engine to find out what plugin is allowed during web page loading. Can be registered per Browser instance. More...

Public Member Functions

bool IsPluginAllowed (PluginInfo pluginInfo)
 Invoked when a web page checks whether specified plugin is allowed or not. When an exception is thrown from this method, default behavior will be used - plugin is allowed. More...
 

Detailed Description

A plugin filter that is used by Chromium engine to find out what plugin is allowed during web page loading. Can be registered per Browser instance.

Member Function Documentation

bool DotNetBrowser.PluginFilter.IsPluginAllowed ( PluginInfo  pluginInfo)

Invoked when a web page checks whether specified plugin is allowed or not. When an exception is thrown from this method, default behavior will be used - plugin is allowed.

Parameters
pluginInfothe information about specified plugin.
Returns
true when plugin is allowed, otherwise - false.