Plarium.Geo.Client by Anton Nesterenko

<PackageReference Include="Plarium.Geo.Client" Version="1.0.12" />

.NET API 56,320 bytes



Legend

  •  Assembly
  •  Namespace
  •  Class
  •  Interface or Abstract Class
  •  Static Class
  •  Struct
  •  Enum
  •  Delegate
  •  Grayed out == non-public

 Plarium.Geo.Client 1.0.12

Lightweight GeoIP service based on MaxMind GeoIP2 database

<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
  <metadata>
    <id>Plarium.Geo.Client</id>
    <version>1.0.12.0</version>
    <title>GeoIP Service Library</title>
    <authors>Anton Nesterenko</authors>
    <owners>Plarium</owners>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <description>Lightweight GeoIP service based on MaxMind GeoIP2 database</description>
    <summary>Lightweight GeoIP library to determine the country, dial-code, timezone associated with IPv4 addresses. It uses the MaxMind GeoIP2 (free) database which needs to be downloaded using embedded updater.

# updater usage
string binFile = "geoip.bin";
string dbUrl = "http://geolite.maxmind.com/download/geoip/database/GeoLite2-City-CSV.zip";

var updater = new GeoUpdater();
updater.Update(binFile, dbUrl);

# client usage
var client = new GeoClient(new MemoryGeoSource(binFile));
client.ResolveCountry(ipAddress);
client.ResolveDialCodeByIP(ipAddress);
client.ResolveTimezone(ipAddress);</summary>
    <copyright>Anton Nesterenko at Plarium</copyright>
    <tags>ip geoip geoip2 geolocation ip2location iptolocation maxmind</tags>
  </metadata>
</package>