TNX.FreeGeoIP2 1.0.2

Install-Package TNX.FreeGeoIP2 -Version 1.0.2
dotnet add package TNX.FreeGeoIP2 --version 1.0.2
<PackageReference Include="TNX.FreeGeoIP2" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TNX.FreeGeoIP2 --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TNX.FreeGeoIP2, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TNX.FreeGeoIP2 as a Cake Addin
#addin nuget:?package=TNX.FreeGeoIP2&version=1.0.2

// Install TNX.FreeGeoIP2 as a Cake Tool
#tool nuget:?package=TNX.FreeGeoIP2&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A Helper module to simplify using the free MaxMind GeoIP database using the MaxMind API and caching the files from the CDN of MaxMind

Simple demo:
var ip = "213.140.15.199";
var city = FreeGeoIP2.FindCityOrDefault(ip);
var country = FreeGeoIP2.FindCountryOrDefault(ip);
var asn = FreeGeoIP2.FindAsnOrDefault(ip);

q: info@tnxconsulting.com

This product includes GeoLite2 data created by MaxMind, available from www.maxmind.com

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 770 7/5/2017
1.0.1 547 7/5/2017
1.0.0 545 7/5/2017