28 references to DefaultCredentials
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (2)
284
if (credential == CredentialCache.
DefaultCredentials
)
312
creds = CredentialCache.
DefaultCredentials
;
Metadata\MetadaExchangeResolver.cs (1)
81
resolver.HttpCredentials = System.Net.CredentialCache.
DefaultCredentials
;
Negotiate.Client (1)
Controllers\AuthTestController.cs (1)
343
ServerCredentials = CredentialCache.
DefaultCredentials
,
PresentationCore (1)
MS\Internal\AppModel\CustomCredentialPolicy.cs (1)
94
return credential == CredentialCache.
DefaultCredentials
;
System.Configuration.ConfigurationManager (1)
System\Configuration\ClientConfigurationHost.cs (1)
292
client.Credentials = CredentialCache.
DefaultCredentials
;
System.Net.Http (6)
System\Net\Http\HttpClientHandler.cs (3)
179
get => _underlyingHandler.Credentials == CredentialCache.
DefaultCredentials
;
184
_underlyingHandler.Credentials = CredentialCache.
DefaultCredentials
;
188
if (_underlyingHandler.Credentials == CredentialCache.
DefaultCredentials
)
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (3)
133
_defaultCredentialsUsedForProxy = _proxy != null && (_proxy.Credentials == CredentialCache.
DefaultCredentials
|| _defaultProxyCredentials == CredentialCache.
DefaultCredentials
),
134
_defaultCredentialsUsedForServer = _credentials == CredentialCache.
DefaultCredentials
,
System.Net.Requests (2)
System\Net\HttpWebRequest.cs (2)
963
return (_credentials == CredentialCache.
DefaultCredentials
);
974
_credentials = value ? CredentialCache.
DefaultCredentials
: null;
System.Net.Security (9)
System\Net\Security\NegotiateStream.cs (9)
103
BeginAuthenticateAsClient((NetworkCredential)CredentialCache.
DefaultCredentials
, binding: null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification,
128
AuthenticateAsServer((NetworkCredential)CredentialCache.
DefaultCredentials
, policy: null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
131
AuthenticateAsServer((NetworkCredential)CredentialCache.
DefaultCredentials
, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
143
BeginAuthenticateAsServer((NetworkCredential)CredentialCache.
DefaultCredentials
, policy: null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, asyncCallback, asyncState);
146
BeginAuthenticateAsServer((NetworkCredential)CredentialCache.
DefaultCredentials
, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, asyncCallback, asyncState);
161
AuthenticateAsClient((NetworkCredential)CredentialCache.
DefaultCredentials
, binding: null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
181
AuthenticateAsClientAsync((NetworkCredential)CredentialCache.
DefaultCredentials
, binding: null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
204
AuthenticateAsServerAsync((NetworkCredential)CredentialCache.
DefaultCredentials
, policy: null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
207
AuthenticateAsServerAsync((NetworkCredential)CredentialCache.
DefaultCredentials
, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
System.Net.WebClient (2)
System\Net\WebClient.cs (2)
184
get { return _credentials == CredentialCache.
DefaultCredentials
; }
185
set { _credentials = value ? CredentialCache.
DefaultCredentials
: null; }
System.Net.WebProxy (2)
System\Net\WebProxy.cs (2)
97
get => Credentials == CredentialCache.
DefaultCredentials
;
98
set => Credentials = value ? CredentialCache.
DefaultCredentials
: null;
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
287
CredentialCache.
DefaultCredentials
: