AccessMask.cs 655 B

123456789101112131415161718192021222324
  1. using System;
  2. namespace SMBLibrary
  3. {
  4. /// <summary>
  5. /// [MS-DTYP] 2.4.3 - ACCESS_MASK
  6. /// </summary>
  7. [Flags]
  8. public enum AccessMask : uint
  9. {
  10. // The bits in positions 16 through 31 are object specific.
  11. DELETE = 0x00010000,
  12. READ_CONTROL = 0x00020000,
  13. WRITE_DAC = 0x00040000,
  14. WRITE_OWNER = 0x00080000,
  15. SYNCHRONIZE = 0x00100000,
  16. ACCESS_SYSTEM_SECURITY = 0x01000000,
  17. MAXIMUM_ALLOWED = 0x02000000,
  18. GENERIC_ALL = 0x10000000,
  19. GENERIC_EXECUTE = 0x20000000,
  20. GENERIC_WRITE = 0x40000000,
  21. GENERIC_READ = 0x80000000,
  22. }
  23. }