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()
You cannot use methods in XAML.

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();

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2015 Microsoft