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