9 references to CheckHostName
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (1)
182
var uriHostNameType = Uri.
CheckHostName
(serverHostName);
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (1)
182
var uriHostNameType = Uri.
CheckHostName
(serverHostName);
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)
1263
/// <seealso cref="Uri.
CheckHostName
"/>
1271
UriHostNameType kind = Uri.
CheckHostName
(hostname);