Mono Class Library: System.Security.Permissions Namespace

System.Security.Permissions.PermissionState Enumeration

Represents a value specifying whether an entity, at creation, should have full or no access to resources.
[System.Runtime.InteropServices.ComVisible(true)]
public enum PermissionState

Remarks

Note:

Code access permission objects supply a constructor that takes a System.Security.Permissions.PermissionState value specifying that the new instance is either fully restricted (PermissionState.None) or unrestricted (PermissionState.Unrestricted). A fully restricted permission object disallows access to a resource; an unrestricted permission object allows full access to a resource. For example, a fully restricted System.Security.Permissions.FileIOPermission object disallows access to files and directories, while an unrestricted object of the same type allows full access to all files and directories in the file system.

Members

Member NameDescription
NoneSpecifies access to the resource protected by the permission is not allowed.
Unrestricted Specifies full access to the resource protected by the permission.

Requirements

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