System.Security.Permissions.FileIOPermissionAccess Enumeration

Assembly: Mscorlib.dll
Namespace: System.Security.Permissions
Summary
Specifies the type of file access requested.
C# Syntax:
[Flags]
[Serializable]
public enum FileIOPermissionAccess
Remarks
In order to create files, code must be granted both Write and Append.

This enumeration is used with the FileIOPermission class.

See also:
System.Security.Permissions Namespace | FileIOPermission | FileIOPermissionAttribute

System.Security.Permissions.FileIOPermissionAccess Member List:

Public Fields
AllAccess Append, Read, Write, and PathDiscovery access to a file or directory.
Append Access to append material to a file or directory. Append access includes the ability to create a new file or directory.
NoAccess No access to a file or directory.
PathDiscovery Access to the information in the path itself. This protects sensitive information in the path, such as user names, as well as information about the directory structure revealed in the path. This value does not grant access to files or folders represented by the path.
Read Access to read from a file or directory.
Write Access to write to or delete a file or directory. Write access includes deleting and overwriting files or directories.

Hierarchy:


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.