public bool AuthClient(Client Client) { try { Client.Secure = true; var Stream = Client.GetStream() as SslStream; Stream.AuthenticateAsServer(this.ServerCert, false, SslProtocols.Tls, false); } catch { return(false); } return(true); }