WikiFunctions.Tools.IsIP C# (CSharp) Method

IsIP() public static method

Checks whether given string is a valid IP address
public static IsIP ( string s ) : bool
s string
return bool
        public static bool IsIP(string s)
        {
            IPAddress dummy;
            return IPAddress.TryParse(s, out dummy);
        }
Tools