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