8 references to _cachedCertificates
System.Net.Http.WinHttpHandler (8)
System\Net\Http\WinHttpHandler.cs (8)
1710if (_cachedCertificates.TryGetValue(key, out CachedCertificateValue? cachedValue)) 1723if (_cachedCertificates.TryAdd(key, new CachedCertificateValue(rawCertificateData, Stopwatch.GetTimestamp()))) 1731bool result = _cachedCertificates.TryRemove(key, out _); 1751foreach (KeyValuePair<CachedCertificateKey, CachedCertificateValue> kvPair in _cachedCertificates) 1755_cachedCertificates.TryRemove(kvPair.Key, out _); 1761ChangeCleanerTimer(_cachedCertificates.IsEmpty ? Timeout.InfiniteTimeSpan : s_cleanCachedCertificateTimeout); 1775if (!_cachedCertificates.IsEmpty && !_isTimerRunning) 1786if (_cachedCertificates.IsEmpty && _isTimerRunning)