SMB2CommandName.cs 1.0 KB

1234567891011121314151617181920212223242526
  1. namespace SMBLibrary.SMB2
  2. {
  3. public enum SMB2CommandName : ushort
  4. {
  5. Negotiate = 0x0000, // SMB2 NEGOTIATE
  6. SessionSetup = 0x0001, // SMB2 SESSION_SETUP
  7. Logoff = 0x0002, // SMB2 LOGOFF
  8. TreeConnect = 0x0003, // SMB2 TREE_CONNECT
  9. TreeDisconnect = 0x0004, // SMB2 TREE_DISCONNECT
  10. Create = 0x0005, // SMB2 CREATE
  11. Close = 0x0006, // SMB2 CLOSE
  12. Flush = 0x0007, // SMB2 FLUSH
  13. Read = 0x0008, // SMB2 READ
  14. Write = 0x0009, // SMB2 WRITE
  15. Lock = 0x000A, // SMB2 LOCK
  16. IOCtl = 0x000B, // SMB2 IOCTL
  17. Cancel = 0x000C, // SMB2 CANCEL
  18. Echo = 0x000D, // SMB2 ECHO
  19. QueryDirectory = 0x000E, // SMB2 QUERY_DIRECTORY
  20. ChangeNotify = 0x000F, // SMB2 CHANGE_NOTIFY
  21. QueryInfo = 0x0010, // SMB2 QUERY_INFO
  22. SetInfo = 0x0011, // SMB2 SET_INFO
  23. OplockBreak = 0x0012, // SMB2 OPLOCK_BREAK
  24. }
  25. }