Transaction2Request.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Copyright (C) 2014 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
  2. *
  3. * You can redistribute this program and/or modify it under the terms of
  4. * the GNU Lesser Public License as published by the Free Software Foundation,
  5. * either version 3 of the License, or (at your option) any later version.
  6. */
  7. using System;
  8. using System.Collections.Generic;
  9. using System.Text;
  10. using Utilities;
  11. namespace SMBLibrary.SMB1
  12. {
  13. /// <summary>
  14. /// SMB_COM_TRANSACTION2 Request
  15. /// The SMB_COM_TRANSACTION2 request format is similar to that of the SMB_COM_TRANSACTION request except for the Name field.
  16. /// The differences are in the subcommands supported, and in the purposes and usages of some of the fields.
  17. /// </summary>
  18. public class Transaction2Request : TransactionRequest
  19. {
  20. public Transaction2Request() : base()
  21. {
  22. }
  23. public Transaction2Request(byte[] buffer, int offset, bool isUnicode) : base(buffer, offset, isUnicode)
  24. {
  25. }
  26. public override CommandName CommandName
  27. {
  28. get
  29. {
  30. return CommandName.SMB_COM_TRANSACTION2;
  31. }
  32. }
  33. }
  34. }