OplockLevel.cs 383 B

1234567891011121314
  1. using System;
  2. namespace SMBLibrary.SMB2
  3. {
  4. [Flags]
  5. public enum OplockLevel : byte
  6. {
  7. None = 0x00, // SMB2_OPLOCK_LEVEL_NONE
  8. Level2 = 0x01, // SMB2_OPLOCK_LEVEL_II
  9. Exclusive = 0x08, // SMB2_OPLOCK_LEVEL_EXCLUSIVE
  10. Batch = 0x09, // SMB2_OPLOCK_LEVEL_BATCH
  11. Lease = 0xFF, // SMB2_OPLOCK_LEVEL_LEASE
  12. }
  13. }