mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-02 14:01:50 +02:00
SMB1: Marked ParametersLength as const in several Transaction2Subcommands
This commit is contained in:
parent
84668b13db
commit
ef08883300
4 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
|
|||
/// </summary>
|
||||
public class Transaction2Open2Response : Transaction2Subcommand
|
||||
{
|
||||
public int ParametersLength = 30;
|
||||
public const int ParametersLength = 30;
|
||||
// Parameters
|
||||
public ushort FID;
|
||||
public SMBFileAttributes FileAttributes;
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
|
|||
/// </summary>
|
||||
public class Transaction2QueryFSInformationRequest : Transaction2Subcommand
|
||||
{
|
||||
public int ParametersLength = 2;
|
||||
public const int ParametersLength = 2;
|
||||
|
||||
public QueryFSInformationLevel InformationLevel;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
|
|||
/// </summary>
|
||||
public class Transaction2QueryFileInformationRequest : Transaction2Subcommand
|
||||
{
|
||||
public int ParametersLength = 4;
|
||||
public const int ParametersLength = 4;
|
||||
// Parameters:
|
||||
public ushort FID;
|
||||
public QueryInformationLevel InformationLevel;
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace SMBLibrary.SMB1
|
|||
/// </summary>
|
||||
public class Transaction2SetFileInformationRequest : Transaction2Subcommand
|
||||
{
|
||||
public int ParametersLength = 6;
|
||||
public const int ParametersLength = 6;
|
||||
// Parameters:
|
||||
public ushort FID;
|
||||
public SetInformationLevel InformationLevel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue