Table of Contents

Class Ipv4

Namespace
Veritas.Telecom
Assembly
Veritas.dll

Provides validation for IPv4 addresses.

public static class Ipv4
Inheritance
Ipv4
Inherited Members

Methods

TryValidate(ReadOnlySpan<char>, out ValidationResult<Ipv4Value>)

Attempts to validate the supplied input as an IPv4 address.

public static bool TryValidate(ReadOnlySpan<char> input, out ValidationResult<Ipv4Value> result)

Parameters

input ReadOnlySpan<char>

Candidate address to validate.

result ValidationResult<Ipv4Value>

The validation outcome including the parsed value when valid.

Returns

bool

true if validation succeeded; otherwise, false.