2 references to GetIdentityIfDefaultCredentialsUsed
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (2)
264return new HttpConnectionKey(HttpConnectionKind.ProxyConnect, uri.IdnHost, uri.Port, null, proxyUri, GetIdentityIfDefaultCredentialsUsed(_settings._defaultCredentialsUsedForProxy)); 282string identity = GetIdentityIfDefaultCredentialsUsed(proxyUri != null ? _settings._defaultCredentialsUsedForProxy : _settings._defaultCredentialsUsedForServer);