using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.IO { /// Represents advanced options for creating a object. // Token: 0x020002B9 RID: 697 [Token(Token = "0x20002B9")] [Flags] [ComVisible(true)] [Serializable] public enum FileOptions { /// Indicates that no additional options should be used when creating a object. // Token: 0x04000D7E RID: 3454 [Token(Token = "0x4000D7E")] None = 0, /// Indicates that a file is encrypted and can be decrypted only by using the same user account used for encryption. // Token: 0x04000D7F RID: 3455 [Token(Token = "0x4000D7F")] Encrypted = 16384, /// Indicates that a file is automatically deleted when it is no longer in use. // Token: 0x04000D80 RID: 3456 [Token(Token = "0x4000D80")] 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: 0x04000D81 RID: 3457 [Token(Token = "0x4000D81")] SequentialScan = 134217728, /// Indicates that the file is accessed randomly. The system can use this as a hint to optimize file caching. // Token: 0x04000D82 RID: 3458 [Token(Token = "0x4000D82")] RandomAccess = 268435456, /// Indicates that a file can be used for asynchronous reading and writing. // Token: 0x04000D83 RID: 3459 [Token(Token = "0x4000D83")] Asynchronous = 1073741824, /// Indicates that the system should write through any intermediate cache and go directly to disk. // Token: 0x04000D84 RID: 3460 [Token(Token = "0x4000D84")] WriteThrough = -2147483648 } }