SMB2Client: Added MaxTransactSize, MaxReadSize and MaxWriteSize properties

This commit is contained in:
Tal Aloni 2017-10-01 23:38:47 +03:00
parent 73b5557987
commit e03037d241

View file

@ -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();