2 writes to _remoteCertificate
System.Net.Security (2)
System\Net\Security\SslStream.Protocol.cs (2)
167_remoteCertificate = null; 1060_remoteCertificate = certificate;
9 references to _remoteCertificate
System.Net.Security (9)
System\Net\Security\SslStream.cs (1)
560return _remoteCertificate;
System\Net\Security\SslStream.Protocol.cs (8)
122return _remoteCertificate != null; 166_remoteCertificate?.Dispose(); 1050if (_remoteCertificate != null && 1052certificate.RawDataMemory.Span.SequenceEqual(_remoteCertificate.RawDataMemory.Span)) 1061if (_remoteCertificate == null) 1103_remoteCertificate, 1111success = remoteCertValidationCallback(this, _remoteCertificate, chain, sslPolicyErrors); 1126NetEventSource.Info(this, $"Cert validation, remote cert = {_remoteCertificate}");