23 references to NetworkCredential
dotnet-svcutil-lib (3)
CmdCredentialsProvider.cs (1)
38return new NetworkCredential(username, password);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
328creds = new NetworkCredential(credentials.UserName.UserName, credentials.UserName.Password);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
248result = new NetworkCredential(token.UserName, token.Password);
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Devices\NetworkUtilities.vb (1)
51DirectCast(New NetworkCredential(userName, password), ICredentials)
NuGet.Configuration (3)
PackageSource\PackageSourceCredential.cs (1)
178return new AuthTypeFilteredCredentials(new NetworkCredential(Username, Password), ValidAuthenticationTypes);
Proxy\ProxyCache.cs (2)
97webProxy.Credentials = new NetworkCredential(userName, password); 123webProxy.Credentials = new NetworkCredential(
NuGet.Credentials (2)
PluginCredentialProvider.cs (1)
137new NetworkCredential(response.Username, response.Password),
SecurePluginCredentialProvider.cs (1)
212new NetworkCredential(credentialResponse.Username, credentialResponse.Password),
System.DirectoryServices (5)
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (1)
52_credential = new NetworkCredential(username, password);
System\DirectoryServices\DirectoryEntry.cs (3)
76_credentials = new NetworkCredential(username, password); 90_credentials = new NetworkCredential(username, password); 131_credentials = new NetworkCredential(username, password);
System\DirectoryServices\SearchResultCollection.cs (1)
277_parentCredentials = new NetworkCredential(parentUserName, parentPassword);
System.DirectoryServices.AccountManagement (2)
System\DirectoryServices\AccountManagement\Context.cs (2)
238NetworkCredential networkCredential = new NetworkCredential(userName, password); 321NetworkCredential networkCredential = new NetworkCredential(userName, password);
System.Net.Requests (1)
System\Net\FtpWebRequest.cs (1)
511networkCredential = new NetworkCredential(username, password);
System.Net.WebProxy (1)
System\Net\WebProxy.cs (1)
328return new NetworkCredential(userName, password);
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
410creds = new NetworkCredential(credentials.UserName.UserName, credentials.UserName.Password);
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
158result = new NetworkCredential(token.UserName, token.Password);
System.ServiceModel.Primitives.Tests (3)
Security\SecurityUtilsTest.cs (3)
26var credential = new NetworkCredential("user@domain.com", "password"); 37credential = new NetworkCredential("user@domain.com", "password"); 48credential = new NetworkCredential("user@domain.com", "password");