mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-12 10:19:18 +02:00
SMB2: Improved implementation of QUERY_INFO request and response
This commit is contained in:
parent
371329d3e0
commit
4e71bea5df
2 changed files with 17 additions and 0 deletions
|
@ -95,6 +95,18 @@ namespace SMBLibrary.SMB2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public SecurityInformation SecurityInformation
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (SecurityInformation)AdditionalInformation;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
AdditionalInformation = (uint)value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void SetFileInformation(FileInformation fileInformation)
|
public void SetFileInformation(FileInformation fileInformation)
|
||||||
{
|
{
|
||||||
InputBuffer = fileInformation.GetBytes();
|
InputBuffer = fileInformation.GetBytes();
|
||||||
|
|
|
@ -61,6 +61,11 @@ namespace SMBLibrary.SMB2
|
||||||
OutputBuffer = fileSystemInformation.GetBytes();
|
OutputBuffer = fileSystemInformation.GetBytes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetSecurityInformation(SecurityDescriptor securityDescriptor)
|
||||||
|
{
|
||||||
|
OutputBuffer = securityDescriptor.GetBytes();
|
||||||
|
}
|
||||||
|
|
||||||
public override int CommandLength
|
public override int CommandLength
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue