Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

45 lines
2.0 KiB
C#

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: 0x020002B2 RID: 690
[Token(Token = "0x20002B2")]
[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: 0x04000D74 RID: 3444
[Token(Token = "0x4000D74")]
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: 0x04000D75 RID: 3445
[Token(Token = "0x4000D75")]
Encrypted = 16384,
/// <summary>Indicates that a file is automatically deleted when it is no longer in use.</summary>
// Token: 0x04000D76 RID: 3446
[Token(Token = "0x4000D76")]
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: 0x04000D77 RID: 3447
[Token(Token = "0x4000D77")]
SequentialScan = 134217728,
/// <summary>Indicates that the file is accessed randomly. The system can use this as a hint to optimize file caching.</summary>
// Token: 0x04000D78 RID: 3448
[Token(Token = "0x4000D78")]
RandomAccess = 268435456,
/// <summary>Indicates that a file can be used for asynchronous reading and writing.</summary>
// Token: 0x04000D79 RID: 3449
[Token(Token = "0x4000D79")]
Asynchronous = 1073741824,
/// <summary>Indicates that the system should write through any intermediate cache and go directly to disk.</summary>
// Token: 0x04000D7A RID: 3450
[Token(Token = "0x4000D7A")]
WriteThrough = -2147483648
}
}