Class Ipv6
Provides validation for IPv6 addresses.
public static class Ipv6
- Inheritance
-
Ipv6
- Inherited Members
Methods
TryValidate(ReadOnlySpan<char>, out ValidationResult<Ipv6Value>)
Attempts to validate the supplied input as an IPv6 address.
public static bool TryValidate(ReadOnlySpan<char> input, out ValidationResult<Ipv6Value> result)
Parameters
inputReadOnlySpan<char>Candidate address to validate.
resultValidationResult<Ipv6Value>The validation outcome including the parsed value when valid.
Returns
- bool
trueif validation succeeded; otherwise,false.