TNX.FreeGeoIP2
1.0.2
dotnet add package TNX.FreeGeoIP2 --version 1.0.2
NuGet\Install-Package TNX.FreeGeoIP2 -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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 and Polyglot Notebooks. 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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- MaxMind.GeoIP2 (>= 2.8.0)
- SharpZipLib (>= 0.86.0)
- TnxCacheManager (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.