net9.0
namespace Microsoft.AspNetCore.Components.WebView.WebView2
{
    public interface ICoreWebView2SettingsWrapper
    {
        bool AreDefaultScriptDialogsEnabled { get; set; }
    }
}
.NET 6.07.08.09.0
Information specific to net9.0
Assembly

Microsoft.AspNetCore.Components.WebView.WebView2 , Version=1.0.0.0, PublicKeyToken=

Referencing

Your project needs a package reference to Microsoft.AspNetCore.Components.WebView.WebView2.

Package Microsoft.AspNetCore.Components.WebView.WebView2 (6.0.200-preview.12.2441) net6.0
Preview This API is contained in a prerelease package.
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API

11/08/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙