mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-04 06:51:50 +02:00
TransactionQueryNamedPipeStateResponse: Added constructors
This commit is contained in:
parent
e0b9494685
commit
b8eae1a400
1 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2014 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||
/* Copyright (C) 2014-2019 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||
*
|
||||
* You can redistribute this program and/or modify it under the terms of
|
||||
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||
|
@ -20,6 +20,15 @@ namespace SMBLibrary.SMB1
|
|||
// Parameters;
|
||||
public NamedPipeStatus NMPipeStatus;
|
||||
|
||||
public TransactionQueryNamedPipeStateResponse() : base()
|
||||
{
|
||||
}
|
||||
|
||||
public TransactionQueryNamedPipeStateResponse(byte[] parameters) : base()
|
||||
{
|
||||
NMPipeStatus = new NamedPipeStatus(LittleEndianConverter.ToUInt16(parameters, 0));
|
||||
}
|
||||
|
||||
public override byte[] GetSetup()
|
||||
{
|
||||
return new byte[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue