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