Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetCachedCredential()

static SafeFreeCredentials System.Net.Security.SslSessionsCache.GetCachedCredential ( SslCredKey key)
inlinestaticprivate

Definition at line 121 of file SslSessionsCache.cs.

122 {
123 if (!s_cachedCreds.TryGetValue(key, out var value))
124 {
125 return null;
126 }
127 return value.Target;
128 }
static readonly ConcurrentDictionary< SslCredKey, SafeCredentialReference > s_cachedCreds

References System.key, System.Net.Security.SslSessionsCache.s_cachedCreds, and System.value.

Referenced by System.Net.Security.SslSessionsCache.CacheCredential(), and System.Net.Security.SslSessionsCache.TryCachedCredential().