private void CopyStringValueToArray(ref int o_index, NameList i_NameList, byte[] o_Buffer) { i_NameList.ByteArray.CopyTo(o_Buffer, o_index); o_index += i_NameList.Length; }
public SshKeyExchangePacket() { m_Random = new Random(); m_Buffer = null; kex_algorithms = new NameList(); server_host_key_algorithms = new NameList(); encryption_algorithms_client_to_server = new NameList(); encryption_algorithms_server_to_client = new NameList(); mac_algorithms_client_to_server = new NameList(); mac_algorithms_server_to_client = new NameList(); compression_algorithms_client_to_server = new NameList(); compression_algorithms_server_to_client = new NameList(); languages_client_to_server = new NameList(); languages_server_to_client = new NameList(); }