mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-04 06:51:50 +02:00
SMB2Client: Added MaxTransactSize, MaxReadSize and MaxWriteSize properties
This commit is contained in:
parent
73b5557987
commit
e03037d241
1 changed files with 24 additions and 0 deletions
|
@ -383,6 +383,30 @@ namespace SMBLibrary.Client
|
|||
m_messageID++;
|
||||
}
|
||||
|
||||
public uint MaxTransactSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_maxTransactSize;
|
||||
}
|
||||
}
|
||||
|
||||
public uint MaxReadSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_maxReadSize;
|
||||
}
|
||||
}
|
||||
|
||||
public uint MaxWriteSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_maxWriteSize;
|
||||
}
|
||||
}
|
||||
|
||||
public static void TrySendCommand(Socket socket, SMB2Command request)
|
||||
{
|
||||
SessionMessagePacket packet = new SessionMessagePacket();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue