ErrorResponse.cs 969 B

1234567891011121314151617181920212223242526272829303132333435
  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. /// The Command trailer of an error response message.
  15. /// See [MS-CIFS]3.3.4.1.2 - Sending Any Error Response Message.
  16. /// </summary>
  17. public class ErrorResponse : SMB1Command
  18. {
  19. private CommandName m_commandName;
  20. public ErrorResponse(CommandName commandName) : base()
  21. {
  22. m_commandName = commandName;
  23. }
  24. public override CommandName CommandName
  25. {
  26. get
  27. {
  28. return m_commandName;
  29. }
  30. }
  31. }
  32. }