using System; namespace System.Security.AccessControl { /// Defines the access rights to use when creating access and audit rules. // Token: 0x020004C4 RID: 1220 [Flags] public enum FileSystemRights { /// Specifies the right to read the contents of a directory. // Token: 0x040011E1 RID: 4577 ListDirectory = 1, /// Specifies the right to open and copy a file or folder. This does not include the right to read file system attributes, extended file system attributes, or access and audit rules. // Token: 0x040011E2 RID: 4578 ReadData = 1, /// Specifies the right to create a file. // Token: 0x040011E3 RID: 4579 CreateFiles = 2, /// Specifies the right to open and write to a file or folder. This does not include the right to open and write file system attributes, extended file system attributes, or access and audit rules. // Token: 0x040011E4 RID: 4580 WriteData = 2, /// Specifies the right to append data to the end of a file. // Token: 0x040011E5 RID: 4581 AppendData = 4, /// Specifies the right to create a folder. // Token: 0x040011E6 RID: 4582 CreateDirectories = 4, /// Specifies the right to open and copy extended file system attributes from a folder or file. For example, this value specifies the right to view author and content information. This does not include the right to read data, file system attributes, or access and audit rules. // Token: 0x040011E7 RID: 4583 ReadExtendedAttributes = 8, /// Specifies the right to open and write extended file system attributes to a folder or file. This does not include the ability to write data, attributes, or access and audit rules. // Token: 0x040011E8 RID: 4584 WriteExtendedAttributes = 16, /// Specifies the right to run an application file. // Token: 0x040011E9 RID: 4585 ExecuteFile = 32, /// Specifies the right to list the contents of a folder and to run applications contained within that folder. // Token: 0x040011EA RID: 4586 Traverse = 32, /// Specifies the right to delete a folder and any files contained within that folder. // Token: 0x040011EB RID: 4587 DeleteSubdirectoriesAndFiles = 64, /// Specifies the right to open and copy file system attributes from a folder or file. For example, this value specifies the right to view the file creation or modified date. This does not include the right to read data, extended file system attributes, or access and audit rules. // Token: 0x040011EC RID: 4588 ReadAttributes = 128, /// Specifies the right to open and write file system attributes to a folder or file. This does not include the ability to write data, extended attributes, or access and audit rules. // Token: 0x040011ED RID: 4589 WriteAttributes = 256, /// Specifies the right to create folders and files, and to add or remove data from files. This right includes the right, right, right, and right. // Token: 0x040011EE RID: 4590 Write = 278, /// Specifies the right to delete a folder or file. // Token: 0x040011EF RID: 4591 Delete = 65536, /// Specifies the right to open and copy access and audit rules from a folder or file. This does not include the right to read data, file system attributes, and extended file system attributes. // Token: 0x040011F0 RID: 4592 ReadPermissions = 131072, /// Specifies the right to open and copy folders or files as read-only. This right includes the right, right, right, and right. // Token: 0x040011F1 RID: 4593 Read = 131209, /// Specifies the right to open and copy folders or files as read-only, and to run application files. This right includes the right and the right. // Token: 0x040011F2 RID: 4594 ReadAndExecute = 131241, /// Specifies the right to read, write, list folder contents, delete folders and files, and run application files. This right includes the right, the right, and the right. // Token: 0x040011F3 RID: 4595 Modify = 197055, /// Specifies the right to change the security and audit rules associated with a file or folder. // Token: 0x040011F4 RID: 4596 ChangePermissions = 262144, /// Specifies the right to change the owner of a folder or file. Note that owners of a resource have full access to that resource. // Token: 0x040011F5 RID: 4597 TakeOwnership = 524288, /// Specifies whether the application can wait for a file handle to synchronize with the completion of an I/O operation. // Token: 0x040011F6 RID: 4598 Synchronize = 1048576, /// Specifies the right to exert full control over a folder or file, and to modify access control and audit rules. This value represents the right to do anything with a file and is the combination of all rights in this enumeration. // Token: 0x040011F7 RID: 4599 FullControl = 2032127 } }