CommandName.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. namespace SMBLibrary.SMB1
  2. {
  3. public enum CommandName : byte
  4. {
  5. SMB_COM_CREATE_DIRECTORY = 0x00,
  6. SMB_COM_DELETE_DIRECTORY = 0x01,
  7. SMB_COM_CLOSE = 0x04,
  8. SMB_COM_FLUSH = 0x05,
  9. SMB_COM_DELETE = 0x06,
  10. SMB_COM_RENAME = 0x07,
  11. SMB_COM_QUERY_INFORMATION = 0x08,
  12. SMB_COM_SET_INFORMATION = 0x09,
  13. SMB_COM_READ = 0x0A,
  14. SMB_COM_WRITE = 0x0B,
  15. SMB_COM_CHECK_DIRECTORY = 0x10,
  16. SMB_COM_WRITE_RAW = 0x1D,
  17. SMB_COM_WRITE_COMPLETE = 0x20, // Write RAW final response
  18. SMB_COM_SET_INFORMATION2 = 0x22,
  19. SMB_COM_LOCKING_ANDX = 0x24,
  20. SMB_COM_TRANSACTION = 0x25,
  21. SMB_COM_TRANSACTION_SECONDARY = 0x26,
  22. SMB_COM_ECHO = 0x2B,
  23. SMB_COM_OPEN_ANDX = 0x2D,
  24. SMB_COM_READ_ANDX = 0x2E,
  25. SMB_COM_WRITE_ANDX = 0x2F,
  26. SMB_COM_TRANSACTION2 = 0x32,
  27. SMB_COM_TRANSACTION2_SECONDARY = 0x33,
  28. SMB_COM_FIND_CLOSE2 = 0x34,
  29. SMB_COM_TREE_DISCONNECT = 0x71,
  30. SMB_COM_NEGOTIATE = 0x72,
  31. SMB_COM_SESSION_SETUP_ANDX = 0x73,
  32. SMB_COM_LOGOFF_ANDX = 0x74,
  33. SMB_COM_TREE_CONNECT_ANDX = 0x75,
  34. SMB_COM_NT_TRANSACT = 0xA0,
  35. SMB_COM_NT_TRANSACT_SECONDARY = 0xA1,
  36. SMB_COM_NT_CREATE_ANDX = 0xA2,
  37. SMB_COM_NT_CANCEL = 0xA4,
  38. SMB_COM_NO_ANDX_COMMAND = 0xFF,
  39. }
  40. }