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