HeaderFlags2.cs 944 B

12345678910111213141516171819202122232425
  1. using System;
  2. namespace SMBLibrary.SMB1
  3. {
  4. [Flags]
  5. public enum HeaderFlags2 : ushort
  6. {
  7. LongNamesAllowed = 0x0001, // SMB_FLAGS2_LONG_NAMES
  8. ExtendedAttributes = 0x0002, // SMB_FLAGS2_EAS
  9. SecuritySignature = 0x0004, // SMB_FLAGS2_SMB_SECURITY_SIGNATURE
  10. CompressedData = 0x0008, // SMB_FLAGS2_COMPRESSED
  11. SecuritySignatureRequired = 0x0010, // SMB_FLAGS2_SMB_SECURITY_SIGNATURE_REQUIRED
  12. LongNameUsed = 0x0040, // SMB_FLAGS2_IS_LONG_NAME
  13. ReparsePath = 0x400, // SMB_FLAGS2_REPARSE_PATH
  14. /// <summary>
  15. /// Indicates that the client or server supports extended security
  16. /// </summary>
  17. ExtendedSecurity = 0x0800, // SMB_FLAGS2_EXTENDED_SECURITY
  18. DFS = 0x1000, // SMB_FLAGS2_DFS
  19. ReadIfExecute = 0x2000, // SMB_FLAGS2_PAGING_IO
  20. NTStatusCode = 0x4000, // SMB_FLAGS2_NT_STATUS
  21. Unicode = 0x8000, // SMB_FLAGS2_UNICODE
  22. }
  23. }