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