29 lines
956 B
C#
29 lines
956 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.IO
|
|
{
|
|
/// <summary>Defines constants for read, write, or read/write access to a file.</summary>
|
|
// Token: 0x020002AF RID: 687
|
|
[Token(Token = "0x20002AF")]
|
|
[Flags]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum FileAccess
|
|
{
|
|
/// <summary>Read access to the file. Data can be read from the file. Combine with <see langword="Write" /> for read/write access.</summary>
|
|
// Token: 0x04000D58 RID: 3416
|
|
[Token(Token = "0x4000D58")]
|
|
Read = 1,
|
|
/// <summary>Write access to the file. Data can be written to the file. Combine with <see langword="Read" /> for read/write access.</summary>
|
|
// Token: 0x04000D59 RID: 3417
|
|
[Token(Token = "0x4000D59")]
|
|
Write = 2,
|
|
/// <summary>Read and write access to the file. Data can be written to and read from the file.</summary>
|
|
// Token: 0x04000D5A RID: 3418
|
|
[Token(Token = "0x4000D5A")]
|
|
ReadWrite = 3
|
|
}
|
|
}
|