[]
An Utils class help to working with IP Address.
public class IpAddressUtils
| Name | Description |
|---|---|
| IpAddressUtils() |
| Name | Description |
|---|---|
| IPV4ToNumber(string) | Convert an IPv4 Address string to integer This method copied from https://lite.ip2location.com/faqs |
| IPV6ToNumber(string) | Convert ip address string into long number. This method copied from https://lite.ip2location.com/faqs |
| IsIpAddress(string) | Check whether given IP Address is a valid IP Address or not. |
| IsIpAddressV4(string) | Conver an IP Address from string to integer. |
| IsIpAddressV6(string) | Check whether given IP Address is IPv6 or not. |
| IsPrivate(string) | Check if given IP Address is from local machine or not. |