public HandshakeLayer(HandshakeLayer handshakeLayer) { m_Disposed = false; m_RecordLayer = handshakeLayer.m_RecordLayer; m_Options = handshakeLayer.m_Options; m_IsNegotiating = handshakeLayer.m_IsNegotiating; m_RNG = handshakeLayer.m_RNG; m_State = handshakeLayer.m_State; m_IncompleteMessage = handshakeLayer.m_IncompleteMessage; m_LocalMD5Hash = handshakeLayer.m_LocalMD5Hash; m_LocalSHA1Hash = handshakeLayer.m_LocalSHA1Hash; m_RemoteMD5Hash = handshakeLayer.m_RemoteMD5Hash; m_RemoteSHA1Hash = handshakeLayer.m_RemoteSHA1Hash; m_CertSignHash = handshakeLayer.m_CertSignHash; m_CertSignHash.Protocol = this.GetProtocol(); m_MutualAuthentication = handshakeLayer.m_MutualAuthentication; m_ClientTime = handshakeLayer.m_ClientTime; m_ClientRandom = handshakeLayer.m_ClientRandom; handshakeLayer.Dispose(false); }