System.Security.Permissions.FileIOPermission Members

The members of System.Security.Permissions.FileIOPermission are listed below.

See Also: Inherited members from System.Security.CodeAccessPermission

Public Constructors

Initializes a new instance of the System.Security.Permissions.FileIOPermission class with fully restricted or unrestricted permission as specified.

Initializes a new instance of the System.Security.Permissions.FileIOPermission class with the specified access to the designated file or directory.

Initializes a new instance of the System.Security.Permissions.FileIOPermission class with the specified access to the designated files and directories.

Initializes a new instance of the System.Security.Permissions.FileIOPermission class with the specified access to the designated file or directory and the specified access rights to file control information.

Initializes a new instance of the System.Security.Permissions.FileIOPermission class with the specified access to the designated files and directories and the specified access rights to file control information.

Public Properties

AllFilesFileIOPermissionAccess.

Gets or sets the permitted access to all files.

AllLocalFilesFileIOPermissionAccess.

Gets or sets the permitted access to all local files.

Public Methods

AddPathList(FileIOPermissionAccess, string)

Adds access for the specified file or directory to the existing state of the permission.

AddPathList(FileIOPermissionAccess, string[])

Adds access for the specified files and directories to the existing state of the permission.

override
Copy() : System.Security.IPermission

Creates and returns an identical copy of the current permission.

override
Equals(object) : bool

Determines whether the specified System.Security.Permissions.FileIOPermission object is equal to the current System.Security.Permissions.FileIOPermission.

override
FromXml(System.Security.SecurityElement)

Reconstructs a permission with a specified state from an XML encoding.

override
GetHashCode() : int

Gets a hash code for the System.Security.Permissions.FileIOPermission object that is suitable for use in hashing algorithms and data structures such as a hash table.

GetPathList(FileIOPermissionAccess) : string[]

Gets all files and directories with the specified System.Security.Permissions.FileIOPermissionAccess.

override
Intersect(System.Security.IPermission) : System.Security.IPermission

Creates and returns a permission that is the intersection of the current permission and the specified permission.

override
IsSubsetOf(System.Security.IPermission) : bool

Determines whether the current permission is a subset of the specified permission.

IsUnrestricted() : bool

Returns a value indicating whether the current permission is unrestricted.

SetPathList(FileIOPermissionAccess, string)

Sets the specified access to the specified file or directory, replacing the existing state of the permission.

SetPathList(FileIOPermissionAccess, string[])

Sets the specified access to the specified files and directories, replacing the current state for the specified access with the new set of paths.

override
ToXml() : System.Security.SecurityElement

Creates an XML encoding of the permission and its current state.

override
Union(System.Security.IPermission) : System.Security.IPermission

Creates a permission that is the union of the current permission and the specified permission.

Explicitly Implemented Interface Members

System.Security.Permissions.IBuiltInPermission.GetTokenIndexDocumentation for this section has not yet been entered.