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