WebBrowserPermission.Level Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the current value of the Web browser permission level.

Namespace:   System.Security.Permissions
Assembly:  WindowsBase (in WindowsBase.dll)

public WebBrowserPermissionLevel Level { get; set; }

Property Value

Type: System.Security.Permissions.WebBrowserPermissionLevel

The current value of the Web browser permission level.

Members of this class are either not typically used in XAML, or cannot be used in XAML.

The following code example shows how to retrieve the WebBrowserPermissionLevel value for the WebBrowserPermission.

WebBrowserPermissionLevel webBrowserPermissionLevel = webBrowserPermission.Level;

.NET Framework
Available since 3.0
Return to top