1 instantiation of SystemNetworkCredential
System (1)
net\System\Net\CredentialCache.cs (1)
390
internal static readonly SystemNetworkCredential defaultCredential = new
SystemNetworkCredential
();
33 references to SystemNetworkCredential
System (33)
net\System\Net\_AuthenticationManagerBase.cs (2)
120
SystemNetworkCredential
.defaultCredential, "http/localhost", clientFlags, null);
125
SystemNetworkCredential
.defaultCredential, null, ContextFlags.Connection, null);
net\System\Net\_BasicClient.cs (2)
23
if (credentials==null || credentials is
SystemNetworkCredential
) {
61
if (credentials==null || credentials is
SystemNetworkCredential
) {
net\System\Net\_DigestClient.cs (2)
67
if (NC is
SystemNetworkCredential
) {
330
if (NC == null || (!(NC is
SystemNetworkCredential
) && NC.InternalGetUserName().Length == 0))
net\System\Net\_KerberosClient.cs (1)
81
if (NC == null || (!(NC is
SystemNetworkCredential
) && NC.InternalGetUserName().Length == 0))
net\System\Net\_NegotiateClient.cs (1)
84
if (NC == null || (!(NC is
SystemNetworkCredential
) && (username = NC.InternalGetUserName()).Length == 0))
net\System\Net\_NTAuthentication.cs (3)
385
if (credential is
SystemNetworkCredential
)
445
Initialize(isServer, package,
SystemNetworkCredential
.defaultCredential, spn, requestedContextFlags, channelBinding);
498
if (credential is
SystemNetworkCredential
)
net\System\Net\_NtlmClient.cs (1)
81
if (NC == null || (!(NC is
SystemNetworkCredential
) && (username = NC.InternalGetUserName()).Length == 0))
net\System\Net\Configuration\DefaultProxySection.cs (1)
274
this.webProxy.Credentials =
SystemNetworkCredential
.defaultCredential;
net\System\Net\CredentialCache.cs (9)
65
if ((cred is
SystemNetworkCredential
)
83
if (cred is
SystemNetworkCredential
) {
108
if ((credential is
SystemNetworkCredential
)
126
if (credential is
SystemNetworkCredential
) {
149
if (cache[key] is
SystemNetworkCredential
) {
174
if (cacheForHosts[key] is
SystemNetworkCredential
) {
306
return
SystemNetworkCredential
.defaultCredential;
315
return
SystemNetworkCredential
.defaultCredential;
390
internal static readonly
SystemNetworkCredential
defaultCredential = new SystemNetworkCredential();
net\System\Net\FtpWebRequest.cs (1)
341
if (value is
SystemNetworkCredential
) {
net\System\Net\HttpWebRequest.cs (3)
2562
return (Credentials is
SystemNetworkCredential
) ? true : false;
4013
(Credentials is
SystemNetworkCredential
||
5860
authTemp = Credentials as
SystemNetworkCredential
;
net\System\Net\mail\SmtpClient.cs (2)
260
return (transport.Credentials is
SystemNetworkCredential
) ? true : false;
627
transport.IdentityRequired = Credentials != null && (Credentials is
SystemNetworkCredential
|| (cache = Credentials as CredentialCache) == null || cache.IsDefaultInCache);
net\System\Net\mail\smtpconnection.cs (1)
480
if (credential is
SystemNetworkCredential
)
net\System\Net\mail\SmtpLoginAuthenticationModule.cs (1)
43
if (credential == null || credential is
SystemNetworkCredential
)
net\System\Net\SecureProtocols\_NegoState.cs (1)
212
if (!(credential is
SystemNetworkCredential
))
net\System\Net\webclient.cs (1)
190
return (m_credentials is
SystemNetworkCredential
) ? true : false;
net\System\Net\webproxy.cs (1)
236
return (Credentials is
SystemNetworkCredential
) ? true : false;