SystemExt/Network/NetworkHelper.cs
/// <summary>
/// Determines whether <see cref="text"/> contains a valid IP address.
/// </summary>
/// <param name="text">
/// The value to validate as an IPv4 address.
/// </param>
/// <returns>
/// True if <paramref name="text"/> is a valid IP address. Otherwise, false.
/// </returns>
Determines whether  contains a valid IP address.
Determines whether contains a valid IP address .
public static bool IsValidAddress(string text)
        {
            IPAddress address;
            return IPAddress.TryParse(text, out address);
        }
public static bool IsValidAddress ( string text ) { IPAddress address ; return IPAddress . TryParse ( text , out address ) ; }
Determines whether  contains a valid IP address.
Determines whether contains a valid IP address .
True if  is a valid IP address. Otherwise, false.
True if is a valid IP address . Otherwise false .
text
string
The value to validate as an IPv4 address.
The value to validate as an IPv4 address .