using System; using System.Runtime.InteropServices; namespace System.IO { /// Provides attributes for files and directories. /// 2 // Token: 0x020001B4 RID: 436 [Flags] [ComVisible(true)] [Serializable] public enum FileAttributes { /// The file's archive status. Applications use this attribute to mark files for backup or removal. // Token: 0x04000660 RID: 1632 Archive = 32, /// The file is compressed. // Token: 0x04000661 RID: 1633 Compressed = 2048, /// Reserved for future use. // Token: 0x04000662 RID: 1634 Device = 64, /// The file is a directory. // Token: 0x04000663 RID: 1635 Directory = 16, /// The file or directory is encrypted. For a file, this means that all data in the file is encrypted. For a directory, this means that encryption is the default for newly created files and directories. // Token: 0x04000664 RID: 1636 Encrypted = 16384, /// The file is hidden, and thus is not included in an ordinary directory listing. // Token: 0x04000665 RID: 1637 Hidden = 2, /// The file is normal and has no other attributes set. This attribute is valid only if used alone. // Token: 0x04000666 RID: 1638 Normal = 128, /// The file will not be indexed by the operating system's content indexing service. // Token: 0x04000667 RID: 1639 NotContentIndexed = 8192, /// The file is offline. The data of the file is not immediately available. // Token: 0x04000668 RID: 1640 Offline = 4096, /// The file is read-only. // Token: 0x04000669 RID: 1641 ReadOnly = 1, /// The file contains a reparse point, which is a block of user-defined data associated with a file or a directory. // Token: 0x0400066A RID: 1642 ReparsePoint = 1024, /// The file is a sparse file. Sparse files are typically large files whose data are mostly zeros. // Token: 0x0400066B RID: 1643 SparseFile = 512, /// The file is a system file. The file is part of the operating system or is used exclusively by the operating system. // Token: 0x0400066C RID: 1644 System = 4, /// The file is temporary. File systems attempt to keep all of the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed. // Token: 0x0400066D RID: 1645 Temporary = 256 } }