<PackageReference Include="SSH.NET" Version="2016.0.0-beta3" />

KeyExchangeEcdhReplyMessage

Represents SSH_MSG_KEXECDH_REPLY message.
namespace Renci.SshNet.Messages.Transport { [Message("SSH_MSG_KEXECDH_REPLY", 31)] public class KeyExchangeEcdhReplyMessage : Message { public byte[] KS { get; set; } public byte[] QS { get; set; } public byte[] Signature { get; set; } protected override int BufferCapacity => base.BufferCapacity + 4 + KS.Length + 4 + QS.Length + 4 + Signature.Length; protected override void LoadData() { ResetReader(); KS = ReadBinary(); QS = ReadBinary(); Signature = ReadBinary(); } protected override void SaveData() { WriteBinaryString(KS); WriteBinaryString(QS); WriteBinaryString(Signature); } } }