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