18 references to NetworkCredential
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (3)
777
result = new
NetworkCredential
(networkCredential.UserName, networkCredential.Password, networkCredential.Domain);
969
credential = new
NetworkCredential
(partsWithSlashDelimiter[1], credential.Password, partsWithSlashDelimiter[0]);
976
credential = new
NetworkCredential
(partsWithAtDelimiter[0], credential.Password, partsWithAtDelimiter[1]);
Security.TransportSecurity.IntegrationTests (2)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
37
factory.Credentials.HttpDigest.ClientCredential = new
NetworkCredential
(username, password, realm);
98
factory.Credentials.HttpDigest.ClientCredential = new
NetworkCredential
(username, password, realm);
System.DirectoryServices.Protocols (5)
System\DirectoryServices\Protocols\common\DirectoryConnection.cs (1)
41
_directoryCredential = (value != null) ? new
NetworkCredential
(value.UserName, value.Password, value.Domain) : null;
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (3)
69
_directoryCredential = (credential != null) ? new
NetworkCredential
(credential.UserName, credential.Password, credential.Domain) : null;
154
_directoryCredential = (value != null) ? new
NetworkCredential
(value.UserName, value.Password, value.Domain) : null;
1011
_directoryCredential = tempCredential = (newCredential != null ? new
NetworkCredential
(newCredential.UserName, newCredential.Password, newCredential.Domain) : null);
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs (1)
1085
return new
NetworkCredential
(user, password, domain);
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (1)
91
return new
NetworkCredential
(value, password, domain);
System.Net.Primitives (3)
System\Net\CredentialCache.cs (1)
343
base
(string.Empty, string.Empty, string.Empty)
System\Net\NetworkCredential.cs (2)
23
:
this
(string.Empty, string.Empty, string.Empty)
34
:
this
(userName, password, string.Empty)
System.Net.Requests (1)
System\Net\FtpWebRequest.cs (1)
226
private static readonly NetworkCredential s_defaultFtpNetworkCredential = new
NetworkCredential
("anonymous", "anonymous@", string.Empty);
System.ServiceModel.Primitives (3)
System\ServiceModel\Security\SecurityUtils.cs (3)
687
result = new
NetworkCredential
(networkCredential.UserName, networkCredential.Password, networkCredential.Domain);
959
credential = new
NetworkCredential
(partsWithSlashDelimiter[1], credential.Password, partsWithSlashDelimiter[0]);
966
credential = new
NetworkCredential
(partsWithAtDelimiter[0], credential.Password, partsWithAtDelimiter[1]);