Mono Class Library: System.Security.Permissions.FileIOPermission Overview | Members

System.Security.Permissions.FileIOPermission Constructor

Constructs and initializes a new instance of the System.Security.Permissions.FileIOPermission class with the specified System.Security.Permissions.PermissionState value.

public FileIOPermission (PermissionState state)

Parameters

state
A System.Security.Permissions.PermissionState value.

Exceptions

TypeReason
ArgumentExceptionstate is not a valid System.Security.Permissions.PermissionState value.

Remarks

Note:

This constructor creates either fully restricted (PermissionState.None) or PermissionState.Unrestricted access to files and directories.

Requirements

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