System.Security.Permissions.FileIOPermission: Method Members

The methods of System.Security.Permissions.FileIOPermission are listed below. For a list of all members, see the FileIOPermission Members list.

See Also: Inherited members from System.Security.CodeAccessPermission

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.