using System; using System.Runtime.InteropServices; namespace System.Security.Permissions { /// Specifies the type of file access requested. // Token: 0x02000545 RID: 1349 [ComVisible(true)] [Flags] [Serializable] public enum FileIOPermissionAccess { /// No access to a file or directory. represents no valid values and causes an when used as the parameter for , which expects a single value. // Token: 0x0400142B RID: 5163 NoAccess = 0, /// Access to read from a file or directory. // Token: 0x0400142C RID: 5164 Read = 1, /// Access to write to or delete a file or directory. access includes deleting and overwriting files or directories. // Token: 0x0400142D RID: 5165 Write = 2, /// Access to append material to a file or directory. access includes the ability to create a new file or directory. // Token: 0x0400142E RID: 5166 Append = 4, /// Access to the information in the path itself. This helps protect 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. // Token: 0x0400142F RID: 5167 PathDiscovery = 8, /// /// , , , and access to a file or directory. represents multiple values and causes an when used as the parameter for the method, which expects a single value. // Token: 0x04001430 RID: 5168 AllAccess = 15 } }