Interop.Windows.Kernel32.IoControlCodeAccess
RequiredAccess.
Indicates the type of access that a caller must request when opening the file object that represents the device (see IRP_MJ_CREATE).
namespace Interop.Windows.Kernel32
{
public enum IoControlCodeAccess
{
FILE_ANY_ACCESS = 0,
FILE_READ_DATA = 1,
FILE_WRITE_DATA = 2
}
}