CoreWebView2EnvironmentOptions.AreBrowserExtensionsEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enable/disable browser extensions.
public bool AreBrowserExtensionsEnabled { get; set; }
member this.AreBrowserExtensionsEnabled : bool with get, set
Public Property AreBrowserExtensionsEnabled As Boolean
Property Value
Remarks
When AreBrowserExtensionsEnabled
is set to true
, new extensions can be added to user profile and used. AreBrowserExtensionsEnabled
is default to be false
, in this case, new extensions can't be installed, and already installed extension won't be available to use in user profile. If connecting to an already running environment with a different value for AreBrowserExtensionsEnabled
property, it will fail with HRESULT_FROM_WIN32(ERROR_INVALID_STATE)
. See CoreWebView2BrowserExtension for Extensions API details.