81 lines
3.8 KiB
C#
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: 0x020002B0 RID: 688
|
|
[Token(Token = "0x20002B0")]
|
|
[Flags]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum FileAttributes
|
|
{
|
|
/// <summary>The file is a candidate for backup or removal.</summary>
|
|
// Token: 0x04000D5C RID: 3420
|
|
[Token(Token = "0x4000D5C")]
|
|
Archive = 32,
|
|
/// <summary>The file is compressed.</summary>
|
|
// Token: 0x04000D5D RID: 3421
|
|
[Token(Token = "0x4000D5D")]
|
|
Compressed = 2048,
|
|
/// <summary>Reserved for future use.</summary>
|
|
// Token: 0x04000D5E RID: 3422
|
|
[Token(Token = "0x4000D5E")]
|
|
Device = 64,
|
|
/// <summary>The file is a directory.</summary>
|
|
// Token: 0x04000D5F RID: 3423
|
|
[Token(Token = "0x4000D5F")]
|
|
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: 0x04000D60 RID: 3424
|
|
[Token(Token = "0x4000D60")]
|
|
Encrypted = 16384,
|
|
/// <summary>The file is hidden, and thus is not included in an ordinary directory listing.</summary>
|
|
// Token: 0x04000D61 RID: 3425
|
|
[Token(Token = "0x4000D61")]
|
|
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: 0x04000D62 RID: 3426
|
|
[Token(Token = "0x4000D62")]
|
|
Normal = 128,
|
|
/// <summary>The file will not be indexed by the operating system's content indexing service.</summary>
|
|
// Token: 0x04000D63 RID: 3427
|
|
[Token(Token = "0x4000D63")]
|
|
NotContentIndexed = 8192,
|
|
/// <summary>The file is offline. The data of the file is not immediately available.</summary>
|
|
// Token: 0x04000D64 RID: 3428
|
|
[Token(Token = "0x4000D64")]
|
|
Offline = 4096,
|
|
/// <summary>The file is read-only.</summary>
|
|
// Token: 0x04000D65 RID: 3429
|
|
[Token(Token = "0x4000D65")]
|
|
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: 0x04000D66 RID: 3430
|
|
[Token(Token = "0x4000D66")]
|
|
ReparsePoint = 1024,
|
|
/// <summary>The file is a sparse file. Sparse files are typically large files whose data consists of mostly zeros.</summary>
|
|
// Token: 0x04000D67 RID: 3431
|
|
[Token(Token = "0x4000D67")]
|
|
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: 0x04000D68 RID: 3432
|
|
[Token(Token = "0x4000D68")]
|
|
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: 0x04000D69 RID: 3433
|
|
[Token(Token = "0x4000D69")]
|
|
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: 0x04000D6A RID: 3434
|
|
[Token(Token = "0x4000D6A")]
|
|
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: 0x04000D6B RID: 3435
|
|
[Token(Token = "0x4000D6B")]
|
|
NoScrubData = 131072
|
|
}
|
|
}
|