Strings.IsIpAddress method (1 of 2)
Check if input string is an ipaddress. Can check both v4 and v6.
public static bool IsIpAddress(string input)
parameter | description |
---|---|
input | string data. |
Return Value
True if it is an ipadress as input.
See Also
- class Strings
- namespace LiTools.Helpers.Check
Strings.IsIpAddress method (2 of 2)
Check if input string is an ipaddress. Can check both v4 and v6.
public static bool IsIpAddress(string input, out IPAddress? address)
parameter | description |
---|---|
input | string data. |
address | input string as output IpAddress. |
Return Value
True if it is an ipadress as input.
See Also
- class Strings
- namespace LiTools.Helpers.Check