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