19 references to DefaultNetworkCredentials
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (1)
35if (networkCredential != null && networkCredential != CredentialCache.DefaultNetworkCredentials)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
119credential = CredentialCache.DefaultNetworkCredentials;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (1)
179_serverCredential = CredentialCache.DefaultNetworkCredentials;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (2)
792return CredentialCache.DefaultNetworkCredentials; 833return CredentialCache.DefaultNetworkCredentials.Equals(credential);
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (1)
70return CredentialCache.DefaultNetworkCredentials;
System.Net.Mail (5)
System\Net\Mail\SmtpClient.cs (3)
240_transport.Credentials = _useDefaultCredentials ? CredentialCache.DefaultNetworkCredentials : _customCredentials; 604_transport.IdentityRequired = Credentials != null && (ReferenceEquals(Credentials, CredentialCache.DefaultNetworkCredentials) || (cache = Credentials as CredentialCache) == null || IsSystemNetworkCredentialInCache(cache)); 688if (ReferenceEquals(credential, CredentialCache.DefaultNetworkCredentials))
System\Net\Mail\SmtpConnection.cs (1)
307if (ReferenceEquals(credential, CredentialCache.DefaultNetworkCredentials))
System\Net\Mail\SmtpLoginAuthenticationModule.cs (1)
24if (credential == null || ReferenceEquals(credential, CredentialCache.DefaultNetworkCredentials))
System.Net.Requests (1)
System\Net\FtpWebRequest.cs (1)
327if (value == CredentialCache.DefaultNetworkCredentials)
System.Net.Security (6)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (1)
235if (clientOptions.Credential == CredentialCache.DefaultNetworkCredentials ||
System\Net\NegotiateAuthenticationPal.Unix.cs (2)
196if (clientOptions.Credential == CredentialCache.DefaultNetworkCredentials || 244if (serverOptions.Credential == CredentialCache.DefaultNetworkCredentials ||
System\Net\Security\NegotiateAuthenticationClientOptions.cs (2)
50/// Default value is <see cref="CredentialCache.DefaultNetworkCredentials" />. 52public NetworkCredential Credential { get; set; } = CredentialCache.DefaultNetworkCredentials;
System\Net\Security\NegotiateAuthenticationServerOptions.cs (1)
36public NetworkCredential Credential { get; set; } = CredentialCache.DefaultNetworkCredentials;
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
63result.credential = CredentialCache.DefaultNetworkCredentials;