25 lines
813 B
C#
25 lines
813 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.IO
|
|
{
|
|
/// <summary>Defines constants for read, write, or read/write access to a file.</summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x020001B3 RID: 435
|
|
[Flags]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum FileAccess
|
|
{
|
|
/// <summary>Read access to the file. Data can be read from the file. Combine with Write for read/write access.</summary>
|
|
// Token: 0x0400065C RID: 1628
|
|
Read = 1,
|
|
/// <summary>Write access to the file. Data can be written to the file. Combine with Read for read/write access.</summary>
|
|
// Token: 0x0400065D RID: 1629
|
|
Write = 2,
|
|
/// <summary>Read and write access to the file. Data can be written to and read from the file.</summary>
|
|
// Token: 0x0400065E RID: 1630
|
|
ReadWrite = 3
|
|
}
|
|
}
|