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