TreeConnectFlags.cs 1.1 KB

123456789101112131415161718192021222324252627
  1. using System;
  2. namespace SMBLibrary.SMB1
  3. {
  4. [Flags]
  5. public enum TreeConnectFlags : ushort
  6. {
  7. /// <summary>
  8. /// If set and SMB_Header.TID is valid, the tree connect specified by the TID in the SMB
  9. /// header of the request SHOULD be disconnected when the server sends the response. If this tree disconnect fails, then the error SHOULD be ignored
  10. /// If set and TID is invalid, the server MUST ignore this bit.
  11. /// </summary>
  12. DisconnectTID = 0x0001, // TREE_CONNECT_ANDX_DISCONNECT_TID
  13. /// <summary>
  14. /// SMB 1.0 addition.
  15. /// If set, then the client is requesting signing key protection.
  16. /// </summary>
  17. ExtendedSignatures = 0x0004, // TREE_CONNECT_ANDX_EXTENDED_SIGNATURES
  18. /// <summary>
  19. /// SMB 1.0 addition.
  20. /// If set, then the client is requesting extended information in the SMB_COM_TREE_CONNECT_ANDX response.
  21. /// </summary>
  22. ExtendedResponse = 0x0008, // TREE_CONNECT_ANDX_EXTENDED_RESPONSE
  23. }
  24. }