Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TlsStreamAuthenticate()

bool System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.TlsStreamAuthenticate ( )
inlineprivate

Definition at line 327 of file SmtpConnection.cs.

328 {
331 if (asyncResult.CompletedSynchronously)
332 {
333 ((System.Net.TlsStream)_connection._networkStream).EndAuthenticateAsClient(asyncResult);
334 _connection._responseReader = new SmtpReplyReaderFactory(_connection._networkStream);
335 SendEHello();
336 return true;
337 }
338 return false;
339 }
X509CertificateCollection _clientCertificates
IAsyncResult BeginAuthenticateAsClient(AsyncCallback asyncCallback, object state)
Definition TlsStream.cs:29

References System.Net.Mail.SmtpConnection._clientCertificates, System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult._connection, System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult._host, System.Net.Mail.SmtpConnection._networkStream, System.Net.Mail.SmtpConnection._tcpClient, System.asyncResult, System.Net.Sockets.TcpClient.Client, System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.SendEHello(), and System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.TlsStreamAuthenticateCallback().

Referenced by System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.SendStartTls(), and System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.SendStartTlsCallback().