5 references to IsValid
System.Net.HttpListener (1)
System\Net\ServiceNameStore.cs (1)
275
IPAddress.
IsValid
(hostname))
System.Net.Quic (2)
System\Net\Quic\QuicConnection.cs (2)
426
string sni = (IPAddress.
IsValid
(options.ClientAuthenticationOptions.TargetHost) ? null : options.ClientAuthenticationOptions.TargetHost) ?? host ?? string.Empty;
461
if (IPAddress.
IsValid
(targetHost))
System.Net.Security (2)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
360
IPAddress.
IsValid
(sslAuthenticationOptions.TargetHost) ||
418
if (!string.IsNullOrEmpty(sslAuthenticationOptions.TargetHost) && !IPAddress.
IsValid
(sslAuthenticationOptions.TargetHost))