System.Security.PermissionSet.IsUnrestricted Method

Determines whether the System.Security.PermissionSet is Unrestricted.

Syntax

public bool IsUnrestricted ()

Returns

true if the System.Security.PermissionSet is Unrestricted; otherwise, false.

Remarks

An Unrestricted System.Security.PermissionSet effectively contains all permissions that implement the System.Security.Permissions.IUnrestrictedPermission interface.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0