WebBrowserPermissionAttribute::Level Property

 

Gets or sets the current Web browser permission level for the WebBrowserPermissionAttribute.

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

public:
property WebBrowserPermissionLevel Level {
	WebBrowserPermissionLevel get();
	void set(WebBrowserPermissionLevel value);
}

Property Value

Type: System.Security.Permissions::WebBrowserPermissionLevel

The state of the current Web browser permission level.

The default value is None.

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

The following example shows how to demand that the calling code has permission to create a Web browser control that runs at a safe level.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: