public static List <stGeoRange> getGeoData(string path, bool isGzip = false, int top = -1, bool isLoadDb = true, stCore.IMessage ilog = null) { return(MaxMindUtil._getGeoData(path, 0, null, isGzip, top, isLoadDb, ilog)); }
public static List <stGeoRange> getGeoData(string path, int skipline, Action <int, int, int, string, bool> pb, bool isGzip = false, int top = -1, bool isLoadDb = true, stCore.IMessage ilog = null) { return(MaxMindUtil._getGeoData(path, skipline, pb, isGzip, top, isLoadDb, ilog)); }
/// <summary> /// parse Maxmind CVS or read produced .bin /// </summary> /// <param name="path">path to directory for Geo source and binary</param> /// <param name="skipline">skip begin line in CSV file</param> /// <param name="pb">Progress Bar function (Action)</param> /// <param name="isGzip">gZip input/output serialize file</param> /// <returns>GeoData - ASN and Country List stGeoRange base</returns> public static List <stGeoRange> getGeoData(string path, int top = -1) { return(MaxMindUtil._getGeoData(path, 0, null, false, top, true, null)); }