Export (0) Print
Expand All

WebBrowserPermission.IsUnrestricted Method

Returns a value indicating whether the current permission is unrestricted.

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

public bool IsUnrestricted()

Return Value

Type: System.Boolean
true if the Level property is set to Unrestricted; otherwise, false.

Implements

IUnrestrictedPermission.IsUnrestricted()

An unrestricted permission represents access to any and all resources protected by the permission.

XAML Attribute Usage

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

The following code example shows how to use the IsUnrestricted method.

bool isUnrestricted = webBrowserPermission.IsUnrestricted();

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft