Capabilities.cs 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. namespace SMBLibrary.SMB1
  3. {
  4. [Flags]
  5. public enum Capabilities : uint
  6. {
  7. RawMode = 0x00000001, // CAP_RAW_MODE
  8. MPXMode = 0x00000002, // SMB_COM_READ_MPX
  9. Unicode = 0x00000004, // CAP_UNICODE
  10. LargeFiles = 0x00000008, // CAP_LARGE_FILES
  11. NTSMB = 0x00000010, // CAP_NT_SMBS
  12. RpcRemoteApi = 0x00000020, // CAP_RPC_REMOTE_APIS
  13. NTStatusCode = 0x00000040, // CAP_STATUS32
  14. Level2Oplocks = 0x00000080, // CAP_LEVEL_II_OPLOCKS
  15. LockAndRead = 0x00000100, // CAP_LOCK_AND_READ
  16. NTFind = 0x00000200, // CAP_NT_FIND
  17. DFS = 0x00001000, // CAP_DFS
  18. InfoLevelPassthrough = 0x00002000, // CAP_INFOLEVEL_PASSTHRU
  19. LargeRead = 0x00004000, // CAP_LARGE_READX
  20. LargeWrite = 0x00008000, // CAP_LARGE_WRITEX
  21. LightWeightIO = 0x00010000, // CAP_LWIO
  22. Unix = 0x00800000, // CAP_UNIX
  23. DynamicReauthentication = 0x20000000, // CAP_DYNAMIC_REAUTH
  24. /// <summary>
  25. /// The server supports extended security for authentication
  26. /// </summary>
  27. ExtendedSecurity = 0x80000000, // CAP_EXTENDED_SECURITY
  28. }
  29. }