136 System.
Net.
NetEventSource.
Info(
null,
$"Refused to cache an Invalid Handle {creds}, Current Cache Count = {s_cachedCreds.Count}",
"CacheCredential");
162 System.
Net.
NetEventSource.
Info(
null,
$"CacheCredential() (locked retry) Found already cached Handle = {cachedCredential}",
"CacheCredential");
169 System.
Net.
NetEventSource.
Info(
null,
$"CacheCredential() Ignoring incoming handle = {creds} since found already cached Handle = {cachedCredential}",
"CacheCredential");
176 for (
int i = 0; i <
array.Length; i++)
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
static System.Net.Security.SafeCredentialReference CreateReference(System.Net.Security.SafeFreeCredentials target)
static readonly ConcurrentDictionary< SslCredKey, SafeCredentialReference > s_cachedCreds
static SafeFreeCredentials TryCachedCredential(byte[] thumbPrint, SslProtocols sslProtocols, bool isServer, EncryptionPolicy encryptionPolicy)
static SafeFreeCredentials GetCachedCredential(SslCredKey key)
static void CacheCredential(SafeFreeCredentials creds, byte[] thumbPrint, SslProtocols sslProtocols, bool isServer, EncryptionPolicy encryptionPolicy)
override int GetHashCode()
override bool Equals([NotNullWhen(true)] object obj)
SslCredKey(byte[] thumbPrint, int allowedProtocols, bool isServerMode, EncryptionPolicy encryptionPolicy)
readonly EncryptionPolicy _encryptionPolicy
readonly byte[] _thumbPrint
readonly int _allowedProtocols
readonly bool _isServerMode
bool Equals(SslCredKey other)