mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-15 11:43:46 +02:00
SMB1: Added ParametersLength definition to several Transaction2Subcommands
This commit is contained in:
parent
d75cd49247
commit
99faa4aa92
3 changed files with 3 additions and 3 deletions
|
@ -16,12 +16,12 @@ namespace SMBLibrary.SMB1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Transaction2QueryFSInformationResponse : Transaction2Subcommand
|
public class Transaction2QueryFSInformationResponse : Transaction2Subcommand
|
||||||
{
|
{
|
||||||
|
public const int ParametersLength = 0;
|
||||||
// Data:
|
// Data:
|
||||||
private byte[] QueryFSInformationBytes;
|
private byte[] QueryFSInformationBytes;
|
||||||
|
|
||||||
public Transaction2QueryFSInformationResponse() : base()
|
public Transaction2QueryFSInformationResponse() : base()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Transaction2QueryFSInformationResponse(byte[] parameters, byte[] data, bool isUnicode) : base()
|
public Transaction2QueryFSInformationResponse(byte[] parameters, byte[] data, bool isUnicode) : base()
|
||||||
|
|
|
@ -16,6 +16,7 @@ namespace SMBLibrary.SMB1
|
||||||
/// </summary
|
/// </summary
|
||||||
public class Transaction2QueryFileInformationResponse : Transaction2Subcommand
|
public class Transaction2QueryFileInformationResponse : Transaction2Subcommand
|
||||||
{
|
{
|
||||||
|
public const int ParametersLength = 2;
|
||||||
// Parameters:
|
// Parameters:
|
||||||
public ushort EaErrorOffset; // Meaningful only when request's InformationLevel is SMB_INFO_QUERY_EAS_FROM_LIST
|
public ushort EaErrorOffset; // Meaningful only when request's InformationLevel is SMB_INFO_QUERY_EAS_FROM_LIST
|
||||||
// Data:
|
// Data:
|
||||||
|
@ -23,7 +24,6 @@ namespace SMBLibrary.SMB1
|
||||||
|
|
||||||
public Transaction2QueryFileInformationResponse() : base()
|
public Transaction2QueryFileInformationResponse() : base()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Transaction2QueryFileInformationResponse(byte[] parameters, byte[] data, bool isUnicode) : base()
|
public Transaction2QueryFileInformationResponse(byte[] parameters, byte[] data, bool isUnicode) : base()
|
||||||
|
|
|
@ -16,12 +16,12 @@ namespace SMBLibrary.SMB1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Transaction2SetFileInformationResponse : Transaction2Subcommand
|
public class Transaction2SetFileInformationResponse : Transaction2Subcommand
|
||||||
{
|
{
|
||||||
|
public const int ParametersLength = 2;
|
||||||
// Parameters:
|
// Parameters:
|
||||||
public ushort EaErrorOffset; // Meaningful only when the request's InformationLevel is set to SMB_INFO_SET_EAS
|
public ushort EaErrorOffset; // Meaningful only when the request's InformationLevel is set to SMB_INFO_SET_EAS
|
||||||
|
|
||||||
public Transaction2SetFileInformationResponse() : base()
|
public Transaction2SetFileInformationResponse() : base()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Transaction2SetFileInformationResponse(byte[] parameters, byte[] data, bool isUnicode) : base()
|
public Transaction2SetFileInformationResponse(byte[] parameters, byte[] data, bool isUnicode) : base()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue