18 references to NetworkCredential
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (3)
777result = new NetworkCredential(networkCredential.UserName, networkCredential.Password, networkCredential.Domain); 969credential = new NetworkCredential(partsWithSlashDelimiter[1], credential.Password, partsWithSlashDelimiter[0]); 976credential = new NetworkCredential(partsWithAtDelimiter[0], credential.Password, partsWithAtDelimiter[1]);
Security.TransportSecurity.IntegrationTests (2)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
37factory.Credentials.HttpDigest.ClientCredential = new NetworkCredential(username, password, realm); 98factory.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)
1085return new NetworkCredential(user, password, domain);
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (1)
91return new NetworkCredential(value, password, domain);
System.Net.Primitives (3)
System\Net\CredentialCache.cs (1)
343base(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)
226private static readonly NetworkCredential s_defaultFtpNetworkCredential = new NetworkCredential("anonymous", "anonymous@", string.Empty);
System.ServiceModel.Primitives (3)
System\ServiceModel\Security\SecurityUtils.cs (3)
687result = new NetworkCredential(networkCredential.UserName, networkCredential.Password, networkCredential.Domain); 959credential = new NetworkCredential(partsWithSlashDelimiter[1], credential.Password, partsWithSlashDelimiter[0]); 966credential = new NetworkCredential(partsWithAtDelimiter[0], credential.Password, partsWithAtDelimiter[1]);