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

◆ ProcessAuthenticationAsync()

Task System.Net.Security.SslStream.ProcessAuthenticationAsync ( bool isAsync = false,
bool isApm = false,
CancellationToken cancellationToken = default(CancellationToken) )
inlineprivate

Definition at line 1006 of file SslStream.cs.

1007 {
1009 if (NetSecurityTelemetry.Log.IsEnabled())
1010 {
1012 }
1013 if (!isAsync)
1014 {
1015 return ForceAuthenticationAsync(new SyncReadWriteAdapter(base.InnerStream), _context.IsServer, null);
1016 }
1017 return ForceAuthenticationAsync(new AsyncReadWriteAdapter(base.InnerStream, cancellationToken), _context.IsServer, null, isApm);
1018 }
async Task ProcessAuthenticationWithTelemetryAsync(bool isAsync, bool isApm, CancellationToken cancellationToken)

References System.Net.Security.SslStream._context, System.cancellationToken, System.Net.Security.SecureChannel.IsServer, System.Net.Security.NetSecurityTelemetry.Log, System.Net.Security.SslStream.ProcessAuthenticationWithTelemetryAsync(), and System.Net.Security.SslStream.ThrowIfExceptional().

Referenced by System.Net.Security.SslStream.AuthenticateAsClient(), System.Net.Security.SslStream.AuthenticateAsClientApm(), System.Net.Security.SslStream.AuthenticateAsClientAsync(), System.Net.Security.SslStream.AuthenticateAsServer(), System.Net.Security.SslStream.AuthenticateAsServerApm(), System.Net.Security.SslStream.AuthenticateAsServerAsync(), and System.Net.Security.SslStream.AuthenticateAsServerAsync().