9 writes to Domain
Security.TransportSecurity.IntegrationTests (7)
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (4)
137
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
190
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
340
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
390
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (3)
117
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
256
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
304
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
System.Net.Primitives (2)
System\Net\NetworkCredential.cs (2)
48
Domain
= domain;
62
Domain
= domain;
36 references to Domain
dotnet-svcutil-lib (7)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (7)
286
if (serverCredential.
Domain
!= null && serverCredential.
Domain
.Length > 0)
288
upn = serverCredential.UserName + "@" + serverCredential.
Domain
;
777
result = new NetworkCredential(networkCredential.UserName, networkCredential.Password, networkCredential.
Domain
);
812
credential.
Domain
, delimiter,
826
string.IsNullOrEmpty(credential.
Domain
) &&
959
string domain = credential.
Domain
;
System.DirectoryServices.Protocols (8)
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 (7)
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);
1029
if (tempCredential != null && tempCredential.UserName.Length == 0 && tempCredential.Password.Length == 0 && tempCredential.
Domain
.Length == 0)
1039
domainName = tempCredential?.
Domain
;
1956
if (oldCredential.
Domain
== newCredential.
Domain
&&
System.Net.Http (4)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (2)
178
string authString = !string.IsNullOrEmpty(credential.
Domain
) ?
179
credential.
Domain
+ "\\" + credential.UserName + ":" + credential.Password :
System\Net\Http\SocketsHttpHandler\PreAuthCredentialCache.cs (2)
23
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Adding key:[{key}], cred:[{cred.
Domain
}],[{cred.UserName}]");
56
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returning {(mostSpecificMatch == null ? "null" : "(" + mostSpecificMatch.UserName + ":" + mostSpecificMatch.
Domain
+ ")")}");
System.Net.Mail (1)
System\Net\Mail\SmtpLoginAuthenticationModule.cs (1)
32
string domain = credential.
Domain
;
System.Net.Primitives (4)
System\Net\CredentialCache.cs (4)
42
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Adding key:[{key}], cred:[{cred.
Domain
}],[{cred.UserName}]");
68
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Adding key:[{key}], cred:[{credential.
Domain
}],[{credential.UserName}]");
140
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returning {(mostSpecificMatch == null ? "null" : "(" + mostSpecificMatch.UserName + ":" + mostSpecificMatch.
Domain
+ ")")}");
162
if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returning {((match == null) ? "null" : "(" + match.UserName + ":" + match.
Domain
+ ")")}");
System.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
518
string domain = Credentials.
Domain
;
System.Net.Security (4)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (3)
615
Encoding.Unicode.GetByteCount(_credential.
Domain
) +
636
makeNtlm2Hash(_credential.
Domain
, _credential.UserName, _credential.Password, ntlm2hash);
653
AddToPayload(ref response.DomainName, _credential.
Domain
, payload, ref payloadOffset);
System\Net\NegotiateAuthenticationPal.Unix.cs (1)
487
ReadOnlySpan<char> domain = credential.
Domain
;
System.ServiceModel.Primitives (4)
System\ServiceModel\Security\SecurityUtils.cs (4)
687
result = new NetworkCredential(networkCredential.UserName, networkCredential.Password, networkCredential.
Domain
);
754
credential.
Domain
, delimiter,
775
string.IsNullOrEmpty(credential.
Domain
) &&
949
string domain = credential.
Domain
;
System.ServiceModel.Primitives.Tests (3)
Security\SecurityUtilsTest.cs (3)
33
Assert.Equal(string.Empty, credential.
Domain
);
44
Assert.Equal("domain.com", credential.
Domain
);
55
Assert.Equal(string.Empty, credential.
Domain
);