10 references to CheckHostName
Aspire.Hosting.Azure.Sandboxes (2)
AzureSandboxContainerDeployment.cs (2)
807.Where(static host => Uri.CheckHostName(host) is not UriHostNameType.Unknown) 1190if (Uri.CheckHostName(resolved.Value) is not UriHostNameType.Unknown &&
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\SniOptionsSelector.cs (1)
184=> !serverName.EndsWith('.') && Uri.CheckHostName(serverName) == UriHostNameType.Dns;
System.Net.HttpListener (3)
System\Net\Managed\HttpEndPointManager.cs (1)
96if (lp.Host != "*" && lp.Host != "+" && Uri.CheckHostName(lp.Host) == UriHostNameType.Unknown)
System\Net\ServiceNameStore.cs (2)
51UriHostNameType hostType = Uri.CheckHostName(hostPortAndDistinguisher); 86hostType = Uri.CheckHostName(host); // Revalidate the host
System.Net.Security (2)
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (2)
189UriHostNameType hostType = Uri.CheckHostName(hostPortAndDistinguisher); 224hostType = Uri.CheckHostName(
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (2)
1707/// <seealso cref="Uri.CheckHostName"/> 1715UriHostNameType kind = Uri.CheckHostName(hostname);