9 writes to Domain
Security.TransportSecurity.IntegrationTests (7)
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (4)
135
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
187
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
335
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
385
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (3)
118
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
259
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
306
factory.Credentials.Windows.ClientCredential.
Domain
= GetDomain();
System.Net.Primitives (2)
System\Net\NetworkCredential.cs (2)
48
Domain
= domain;
62
Domain
= domain;
24 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.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.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
);