using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.IO { /// Represents advanced options for creating a object. // Token: 0x020002B2 RID: 690 [Token(Token = "0x20002B2")] [Flags] [ComVisible(true)] [Serializable] public enum FileOptions { /// Indicates that no additional options should be used when creating a object. // Token: 0x04000D74 RID: 3444 [Token(Token = "0x4000D74")] None = 0, /// Indicates that a file is encrypted and can be decrypted only by using the same user account used for encryption. // Token: 0x04000D75 RID: 3445 [Token(Token = "0x4000D75")] Encrypted = 16384, /// Indicates that a file is automatically deleted when it is no longer in use. // Token: 0x04000D76 RID: 3446 [Token(Token = "0x4000D76")] 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: 0x04000D77 RID: 3447 [Token(Token = "0x4000D77")] SequentialScan = 134217728, /// Indicates that the file is accessed randomly. The system can use this as a hint to optimize file caching. // Token: 0x04000D78 RID: 3448 [Token(Token = "0x4000D78")] RandomAccess = 268435456, /// Indicates that a file can be used for asynchronous reading and writing. // Token: 0x04000D79 RID: 3449 [Token(Token = "0x4000D79")] Asynchronous = 1073741824, /// Indicates that the system should write through any intermediate cache and go directly to disk. // Token: 0x04000D7A RID: 3450 [Token(Token = "0x4000D7A")] WriteThrough = -2147483648 } }