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