16 references to s_CachedCreds
System (16)
net\System\Net\_SslSessionsCache.cs (16)
131
if (
s_CachedCreds
.Count == 0)
133
GlobalLog.Print("TryCachedCredential() Not Found, Current Cache Count = " +
s_CachedCreds
.Count);
139
SafeCredentialReference cached =
s_CachedCreds
[key] as SafeCredentialReference;
143
GlobalLog.Print("TryCachedCredential() Not Found, Current Cache Count = " +
s_CachedCreds
.Count);
161
GlobalLog.Print("CacheCredential() Refused to cache an Invalid Handle = " + creds.ToString() + ", Current Cache Count = " +
s_CachedCreds
.Count);
167
SafeCredentialReference cached =
s_CachedCreds
[key] as SafeCredentialReference;
171
lock(
s_CachedCreds
)
173
cached =
s_CachedCreds
[key] as SafeCredentialReference;
185
s_CachedCreds
[key] = cached;
186
GlobalLog.Print("CacheCredential() Caching New Handle = " + creds.ToString() + ", Current Cache Count = " +
s_CachedCreds
.Count);
198
if ((
s_CachedCreds
.Count%c_CheckExpiredModulo) == 0)
200
DictionaryEntry[] toRemoveAttempt = new DictionaryEntry[
s_CachedCreds
.Count];
201
s_CachedCreds
.CopyTo(toRemoveAttempt, 0);
213
s_CachedCreds
[toRemoveAttempt[i].Key] = cached;
215
s_CachedCreds
.Remove(toRemoveAttempt[i].Key);
218
GlobalLog.Print("Scavenged cache, New Cache Count = " +
s_CachedCreds
.Count);