2 instantiations of CredentialCache
System.ServiceModel (2)
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
768
CredentialCache credentials = new
CredentialCache
();
2170
CredentialCache credentials = new
CredentialCache
();
38 references to CredentialCache
PresentationCore (1)
Core\CSharp\MS\Internal\AppModel\CustomCredentialPolicy.cs (1)
149
return credential ==
CredentialCache
.DefaultCredentials;
System (21)
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (1)
255
webClient.Credentials =
CredentialCache
.DefaultCredentials;
net\System\Net\Configuration\SmtpNetworkElement.cs (1)
173
this.credential = (NetworkCredential)
CredentialCache
.DefaultCredentials;
net\System\Net\CredentialCache.cs (4)
40
/// Initializes a new instance of the <see cref='System.Net.
CredentialCache
'/> class.
298
/// the default system credentials from the <see cref='System.Net.
CredentialCache
'/>.
323
private
CredentialCache
m_cache;
330
internal CredentialEnumerator(
CredentialCache
cache, Hashtable table, Hashtable hostTable, int version) {
net\System\Net\HttpWebRequest.cs (4)
2568
_AuthInfo = value ?
CredentialCache
.DefaultCredentials : null;
4011
CredentialCache
cache;
4015
((cache = Credentials as
CredentialCache
) == null ||
5857
ICredentials authTemp = Credentials as
CredentialCache
;
net\System\Net\mail\SmtpClient.cs (3)
267
transport.Credentials = value ?
CredentialCache
.DefaultNetworkCredentials : null;
624
CredentialCache
cache;
627
transport.IdentityRequired = Credentials != null && (Credentials is SystemNetworkCredential || (cache = Credentials as
CredentialCache
) == null || cache.IsDefaultInCache);
net\System\Net\SecureProtocols\NegotiateStream.cs (6)
69
AuthenticateAsClient((NetworkCredential)
CredentialCache
.DefaultCredentials, null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
108
return BeginAuthenticateAsClient((NetworkCredential)
CredentialCache
.DefaultCredentials, null, string.Empty,
181
AuthenticateAsServer((NetworkCredential)
CredentialCache
.DefaultCredentials, null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
186
AuthenticateAsServer((NetworkCredential)
CredentialCache
.DefaultCredentials, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
215
return BeginAuthenticateAsServer((NetworkCredential)
CredentialCache
.DefaultCredentials, null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, asyncCallback, asyncState);
221
return BeginAuthenticateAsServer((NetworkCredential)
CredentialCache
.DefaultCredentials, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, asyncCallback, asyncState);
net\System\Net\webclient.cs (1)
193
m_credentials = value ?
CredentialCache
.DefaultCredentials : null;
net\System\Net\webproxy.cs (1)
239
_Credentials = value ?
CredentialCache
.DefaultCredentials : null;
System.Configuration (1)
System\Configuration\ClientConfigurationHost.cs (1)
335
client.Credentials =
CredentialCache
.DefaultCredentials;
System.IdentityModel (2)
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (2)
55
if (networkCredential != null && networkCredential !=
CredentialCache
.DefaultNetworkCredentials)
135
if (networkCredential == null || networkCredential ==
CredentialCache
.DefaultNetworkCredentials)
System.Runtime.Remoting (3)
channels\http\httpclientchannel.cs (1)
649
httpWebRequest.Credentials =
CredentialCache
.DefaultCredentials;
channels\tcp\tcpclientchannel.cs (1)
284
credentials = (NetworkCredential)
CredentialCache
.DefaultCredentials;
channels\tcp\tcpserverchannel.cs (1)
503
negoServer.AuthenticateAsServer((NetworkCredential)
CredentialCache
.DefaultCredentials, _protectionLevel, impLevel);
System.ServiceModel (7)
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
768
CredentialCache
credentials = new CredentialCache();
2170
CredentialCache
credentials = new CredentialCache();
System\ServiceModel\Channels\TransportSecurityHelpers.cs (2)
337
credential =
CredentialCache
.DefaultNetworkCredentials;
687
this.credential =
CredentialCache
.DefaultNetworkCredentials;
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (1)
183
this.serverCredential =
CredentialCache
.DefaultNetworkCredentials;
System\ServiceModel\Security\SecurityUtils.cs (2)
1898
return
CredentialCache
.DefaultNetworkCredentials;
2012
return
CredentialCache
.DefaultNetworkCredentials;
System.Web (1)
Compilation\WebReferencesBuildProvider.cs (1)
107
client.Credentials =
CredentialCache
.DefaultCredentials;
System.Web.Services (2)
System\Web\Services\Protocols\ClientProtocol.cs (2)
130
return (credentials ==
CredentialCache
.DefaultCredentials) ? true : false;
133
credentials = value ?
CredentialCache
.DefaultCredentials : null;