9 writes to Password
Security.TransportSecurity.IntegrationTests (8)
Https\ClientCredentialTypeTests.4.1.0.cs (1)
224factory.Credentials.HttpDigest.ClientCredential.Password = s_password;
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (4)
139factory.Credentials.Windows.ClientCredential.Password = GetExplicitPassword(); 192factory.Credentials.Windows.ClientCredential.Password = GetExplicitPassword(); 342factory.Credentials.Windows.ClientCredential.Password = GetExplicitPassword(); 392factory.Credentials.Windows.ClientCredential.Password = GetExplicitPassword();
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (3)
119factory.Credentials.Windows.ClientCredential.Password = GetExplicitPassword(); 258factory.Credentials.Windows.ClientCredential.Password = GetExplicitPassword(); 306factory.Credentials.Windows.ClientCredential.Password = GetExplicitPassword();
System.Net.Primitives (1)
System\Net\NetworkCredential.cs (1)
47Password = password;
35 references to Password
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (5)
777result = new NetworkCredential(networkCredential.UserName, networkCredential.Password, networkCredential.Domain); 814credential.Password, delimiter, 827string.IsNullOrEmpty(credential.Password) 969credential = new NetworkCredential(partsWithSlashDelimiter[1], credential.Password, partsWithSlashDelimiter[0]); 976credential = new NetworkCredential(partsWithAtDelimiter[0], credential.Password, partsWithAtDelimiter[1]);
System.DirectoryServices.Protocols (10)
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 (9)
69_directoryCredential = (credential != null) ? new NetworkCredential(credential.UserName, credential.Password, credential.Domain) : null; 79if (AuthType == AuthType.Anonymous && (_directoryCredential != null && (!string.IsNullOrEmpty(_directoryCredential.Password) || !string.IsNullOrEmpty(_directoryCredential.UserName)))) 154_directoryCredential = (value != null) ? new NetworkCredential(value.UserName, value.Password, value.Domain) : null; 1002if (AuthType == AuthType.Anonymous && (newCredential != null && (!string.IsNullOrEmpty(newCredential.Password) || !string.IsNullOrEmpty(newCredential.UserName)))) 1011_directoryCredential = tempCredential = (newCredential != null ? new NetworkCredential(newCredential.UserName, newCredential.Password, newCredential.Domain) : null); 1029if (tempCredential != null && tempCredential.UserName.Length == 0 && tempCredential.Password.Length == 0 && tempCredential.Domain.Length == 0) 1040password = tempCredential?.Password; 1958oldCredential.Password == newCredential.Password)
System.Net.Http (5)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (2)
179credential.Domain + "\\" + credential.UserName + ":" + credential.Password : 180credential.UserName + ":" + credential.Password;
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (1)
141string a1 = credential.UserName + ":" + realm + ":" + credential.Password;
System\Net\Http\SocketsHttpHandler\SocksHelper.cs (2)
124byte passwordLength = EncodeString(credentials.Password, buffer.AsSpan(3 + usernameLength), nameof(credentials.Password));
System.Net.Mail (1)
System\Net\Mail\SmtpLoginAuthenticationModule.cs (1)
45return new Authorization(Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(cachedCredential.Password)), true);
System.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
524password = Credentials.Password;
System.Net.Security (5)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (2)
237string.IsNullOrWhiteSpace(clientOptions.Credential.Password)) 636makeNtlm2Hash(_credential.Domain, _credential.UserName, _credential.Password, ntlm2hash);
System\Net\NegotiateAuthenticationPal.Unix.cs (3)
198string.IsNullOrWhiteSpace(clientOptions.Credential.Password)) 246string.IsNullOrWhiteSpace(serverOptions.Credential.Password)) 486string password = credential.Password;
System.ServiceModel.Primitives (5)
System\ServiceModel\Security\SecurityUtils.cs (5)
687result = new NetworkCredential(networkCredential.UserName, networkCredential.Password, networkCredential.Domain); 756credential.Password, delimiter, 776string.IsNullOrEmpty(credential.Password) 959credential = new NetworkCredential(partsWithSlashDelimiter[1], credential.Password, partsWithSlashDelimiter[0]); 966credential = new NetworkCredential(partsWithAtDelimiter[0], credential.Password, partsWithAtDelimiter[1]);
System.ServiceModel.Primitives.Tests (3)
Security\SecurityUtilsTest.cs (3)
32Assert.Equal("password", credential.Password); 43Assert.Equal("password", credential.Password); 54Assert.Equal("password", credential.Password);