mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-21 16:55:54 +02:00
RPC: Added constructor to ContextElement
This commit is contained in:
parent
cd6b0bf864
commit
381e618669
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2014 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||||
*
|
*
|
||||||
* You can redistribute this program and/or modify it under the terms of
|
* 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,
|
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||||
|
@ -22,6 +22,10 @@ namespace SMBLibrary.RPC
|
||||||
public SyntaxID AbstractSyntax;
|
public SyntaxID AbstractSyntax;
|
||||||
public List<SyntaxID> TransferSyntaxList = new List<SyntaxID>();
|
public List<SyntaxID> TransferSyntaxList = new List<SyntaxID>();
|
||||||
|
|
||||||
|
public ContextElement()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public ContextElement(byte[] buffer, int offset)
|
public ContextElement(byte[] buffer, int offset)
|
||||||
{
|
{
|
||||||
ContextID = LittleEndianConverter.ToUInt16(buffer, offset + 0);
|
ContextID = LittleEndianConverter.ToUInt16(buffer, offset + 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue