OptionalSupportFlags.cs 716 B

12345678910111213141516171819202122
  1. using System;
  2. namespace SMBLibrary.SMB1
  3. {
  4. [Flags]
  5. public enum OptionalSupportFlags : ushort
  6. {
  7. /// <summary>
  8. /// The server supports the use of SMB_FILE_ATTRIBUTES exclusive search attributes in client requests.
  9. /// </summary>
  10. SMB_SUPPORT_SEARCH_BITS = 0x0001,
  11. SMB_SHARE_IS_IN_DFS = 0x0002,
  12. SMB_CSC_CACHE_MANUAL_REINT = 0x0000, // SMB_CSC_MASK = 0
  13. SMB_CSC_CACHE_AUTO_REINT = 0x0004, // SMB_CSC_MASK = 1
  14. SMB_CSC_CACHE_VDO = 0x0008, // SMB_CSC_MASK = 2
  15. SMB_CSC_NO_CACHING = 0x000C, // SMB_CSC_MASK = 3
  16. SMB_UNIQUE_FILE_NAME = 0x0010,
  17. SMB_EXTENDED_SIGNATURES = 0x0020,
  18. }
  19. }