[]
Convert an IPv4 Address string to integer This method copied from https://lite.ip2location.com/faqs
public static double IPV4ToNumber(string ipv4)