10 references to CheckHostName
Aspire.Hosting.Azure.Sandboxes (2)
AzureSandboxContainerDeployment.cs (2)
807
.Where(static host => Uri.
CheckHostName
(host) is not UriHostNameType.Unknown)
1190
if (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)
96
if (lp.Host != "*" && lp.Host != "+" && Uri.
CheckHostName
(lp.Host) == UriHostNameType.Unknown)
System\Net\ServiceNameStore.cs (2)
51
UriHostNameType hostType = Uri.
CheckHostName
(hostPortAndDistinguisher);
86
hostType = Uri.
CheckHostName
(host); // Revalidate the host
System.Net.Security (2)
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (2)
189
UriHostNameType hostType = Uri.
CheckHostName
(hostPortAndDistinguisher);
224
hostType = Uri.
CheckHostName
(
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (2)
1707
/// <seealso cref="Uri.
CheckHostName
"/>
1715
UriHostNameType kind = Uri.
CheckHostName
(hostname);