123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using Utilities;
- namespace SMBLibrary.SMB1
- {
-
-
-
- public class TransactionRawWriteNamedPipeResponse : TransactionSubcommand
- {
- public const int ParametersLength = 2;
-
- public ushort BytesWritten;
- public TransactionRawWriteNamedPipeResponse() : base()
- {
- }
- public TransactionRawWriteNamedPipeResponse(byte[] parameters) : base()
- {
- BytesWritten = LittleEndianConverter.ToUInt16(parameters, 0);
- }
- public override byte[] GetParameters()
- {
- return LittleEndianConverter.GetBytes(BytesWritten);
- }
- public override TransactionSubcommandName SubcommandName
- {
- get
- {
- return TransactionSubcommandName.TRANS_RAW_WRITE_NMPIPE;
- }
- }
- }
- }
|