FileIOPermission
Controls the ability to access files and folders. This class cannot be inherited.
Gets or sets the permitted access to all files.
Gets or sets the permitted access to all local files.
Initializes a new instance of the FileIOPermission class with the specified access to the designated file or directory.
Initializes a new instance of the FileIOPermission class with the specified access to the designated files and directories.
Initializes a new instance of the FileIOPermission class with the specified access to the designated file or directory and the specified access rights to file control information.
public FileIOPermission(FileIOPermissionAccess access, AccessControlActions actions, string[] pathList)
Initializes a new instance of the FileIOPermission class with the specified access to the designated files and directories and the specified access rights to file control information.
Initializes a new instance of the FileIOPermission class with fully restricted or unrestricted permission as specified.
Adds access for the specified file or directory to the existing state of the permission.
Adds access for the specified files and directories to the existing state of the permission.
Gets all files and directories with the specified FileIOPermissionAccess.
Returns a value indicating whether the current permission is unrestricted.
Sets the specified access to the specified file or directory, replacing the existing state of the permission.
Sets the specified access to the specified files and directories, replacing the current state for the specified access with the new set of paths.