Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

81 lines
3.8 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.IO
{
/// <summary>Provides attributes for files and directories.</summary>
// Token: 0x020002B7 RID: 695
[Token(Token = "0x20002B7")]
[Flags]
[ComVisible(true)]
[Serializable]
public enum FileAttributes
{
/// <summary>The file is a candidate for backup or removal.</summary>
// Token: 0x04000D66 RID: 3430
[Token(Token = "0x4000D66")]
Archive = 32,
/// <summary>The file is compressed.</summary>
// Token: 0x04000D67 RID: 3431
[Token(Token = "0x4000D67")]
Compressed = 2048,
/// <summary>Reserved for future use.</summary>
// Token: 0x04000D68 RID: 3432
[Token(Token = "0x4000D68")]
Device = 64,
/// <summary>The file is a directory.</summary>
// Token: 0x04000D69 RID: 3433
[Token(Token = "0x4000D69")]
Directory = 16,
/// <summary>The file or directory is encrypted. For a file, this means that all data in the file is encrypted. For a directory, this means that encryption is the default for newly created files and directories.</summary>
// Token: 0x04000D6A RID: 3434
[Token(Token = "0x4000D6A")]
Encrypted = 16384,
/// <summary>The file is hidden, and thus is not included in an ordinary directory listing.</summary>
// Token: 0x04000D6B RID: 3435
[Token(Token = "0x4000D6B")]
Hidden = 2,
/// <summary>The file is a standard file that has no special attributes. This attribute is valid only if it is used alone.</summary>
// Token: 0x04000D6C RID: 3436
[Token(Token = "0x4000D6C")]
Normal = 128,
/// <summary>The file will not be indexed by the operating system's content indexing service.</summary>
// Token: 0x04000D6D RID: 3437
[Token(Token = "0x4000D6D")]
NotContentIndexed = 8192,
/// <summary>The file is offline. The data of the file is not immediately available.</summary>
// Token: 0x04000D6E RID: 3438
[Token(Token = "0x4000D6E")]
Offline = 4096,
/// <summary>The file is read-only.</summary>
// Token: 0x04000D6F RID: 3439
[Token(Token = "0x4000D6F")]
ReadOnly = 1,
/// <summary>The file contains a reparse point, which is a block of user-defined data associated with a file or a directory.</summary>
// Token: 0x04000D70 RID: 3440
[Token(Token = "0x4000D70")]
ReparsePoint = 1024,
/// <summary>The file is a sparse file. Sparse files are typically large files whose data consists of mostly zeros.</summary>
// Token: 0x04000D71 RID: 3441
[Token(Token = "0x4000D71")]
SparseFile = 512,
/// <summary>The file is a system file. That is, the file is part of the operating system or is used exclusively by the operating system.</summary>
// Token: 0x04000D72 RID: 3442
[Token(Token = "0x4000D72")]
System = 4,
/// <summary>The file is temporary. A temporary file contains data that is needed while an application is executing but is not needed after the application is finished. File systems try to keep all the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed.</summary>
// Token: 0x04000D73 RID: 3443
[Token(Token = "0x4000D73")]
Temporary = 256,
/// <summary>The file or directory includes data integrity support. When this value is applied to a file, all data streams in the file have integrity support. When this value is applied to a directory, all new files and subdirectories within that directory, by default, include integrity support.</summary>
// Token: 0x04000D74 RID: 3444
[Token(Token = "0x4000D74")]
IntegrityStream = 32768,
/// <summary>The file or directory is excluded from the data integrity scan. When this value is applied to a directory, by default, all new files and subdirectories within that directory are excluded from data integrity.</summary>
// Token: 0x04000D75 RID: 3445
[Token(Token = "0x4000D75")]
NoScrubData = 131072
}
}