Open2Flags.cs 824 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. namespace SMBLibrary.SMB1
  3. {
  4. [Flags]
  5. public enum Open2Flags : ushort
  6. {
  7. /// <summary>
  8. /// Return additional information in the response;
  9. /// populate the CreationTime, FileDataSize, AccessMode, ResourceType, and NMPipeStatus fields in the response.
  10. /// </summary>
  11. REQ_ATTRIB = 0x0001,
  12. /// <summary>
  13. /// Exclusive OpLock requested.
  14. /// </summary>
  15. REQ_OPLOCK = 0x0002,
  16. /// <summary>
  17. /// Batch OpLock requested.
  18. /// </summary>
  19. REQ_OPBATCH = 0x0004,
  20. /// <summary>
  21. /// Return total length of Extended Attributes (EAs);
  22. /// populate the ExtendedAttributeLength field in the response.
  23. /// </summary>
  24. REQ_EASIZE = 0x0008,
  25. }
  26. }