mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-14 13:25:03 +02:00
SMB2: Improved implementation of SET_INFO Request
This commit is contained in:
parent
7913b5bd9e
commit
72ee2ce365
1 changed files with 22 additions and 0 deletions
|
@ -89,11 +89,33 @@ namespace SMBLibrary.SMB2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public SecurityInformation SecurityInformation
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (SecurityInformation)AdditionalInformation;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
AdditionalInformation = (uint)value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void SetFileInformation(FileInformation fileInformation)
|
public void SetFileInformation(FileInformation fileInformation)
|
||||||
{
|
{
|
||||||
Buffer = fileInformation.GetBytes();
|
Buffer = fileInformation.GetBytes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetFileSystemInformation(FileSystemInformation fileSystemInformation)
|
||||||
|
{
|
||||||
|
Buffer = fileSystemInformation.GetBytes();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetSecurityInformation(SecurityDescriptor securityDescriptor)
|
||||||
|
{
|
||||||
|
Buffer = securityDescriptor.GetBytes();
|
||||||
|
}
|
||||||
|
|
||||||
public override int CommandLength
|
public override int CommandLength
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue