using System; using System.Runtime.InteropServices; namespace System.IO { /// Represents additional options for creating a object. /// 1 // Token: 0x020001B9 RID: 441 [Flags] [ComVisible(true)] [Serializable] public enum FileOptions { /// Indicates no additional parameters. // Token: 0x0400067E RID: 1662 None = 0, /// Indicates that a file is encrypted and can be decrypted only by using the same user account used for encryption. // Token: 0x0400067F RID: 1663 Encrypted = 16384, /// Indicates that a file is automatically deleted when it is no longer in use. // Token: 0x04000680 RID: 1664 DeleteOnClose = 67108864, /// Indicates that the file is to be accessed sequentially from beginning to end. The system can use this as a hint to optimize file caching. If an application moves the file pointer for random access, optimum caching may not occur; however, correct operation is still guaranteed. // Token: 0x04000681 RID: 1665 SequentialScan = 134217728, /// Indicates that the file is accessed randomly. The system can use this as a hint to optimize file caching. // Token: 0x04000682 RID: 1666 RandomAccess = 268435456, /// Indicates that a file can be used for asynchronous reading and writing. // Token: 0x04000683 RID: 1667 Asynchronous = 1073741824, /// Indicates that the system should write through any intermediate cache and go directly to disk. // Token: 0x04000684 RID: 1668 WriteThrough = -2147483648 } }