Base:
property
IsServer
System.Net.Security.AuthenticatedStream.IsServer
10 references to IsServer
System.Net.Security (10)
System\Net\Security\NetSecurityTelemetry.cs (2)
321
activity.DisplayName = stream.
IsServer
? "TLS server handshake" : $"TLS client handshake {stream.TargetHostName}";
322
if (activity.IsAllDataRequested && !stream.
IsServer
)
System\Net\Security\SslStream.cs (2)
470
(
IsServer
? LocalServerCertificate : LocalClientCertificate) != null &&
549
return
IsServer
? LocalServerCertificate : LocalClientCertificate;
System\Net\Security\SslStream.IO.cs (6)
120
ForceAuthenticationAsync<AsyncReadWriteAdapter>(
IsServer
, null, cancellationToken) :
121
ForceAuthenticationAsync<SyncReadWriteAdapter>(
IsServer
, null, cancellationToken);
130
NetSecurityTelemetry.Log.HandshakeStart(
IsServer
, _sslAuthenticationOptions.TargetHost);
143
ForceAuthenticationAsync<AsyncReadWriteAdapter>(
IsServer
, null, cancellationToken) :
144
ForceAuthenticationAsync<SyncReadWriteAdapter>(
IsServer
, null, cancellationToken);
162
NetSecurityTelemetry.Log.HandshakeFailed(
IsServer
, startingTimestamp, ex.Message);