IP2Location Geolocation .NET Component NuGet Package

Discover your visitors’ geolocation information such as country, region, city, latitude & longitude, ZIP codes, time zone and more from an IP address.

It support both the IPv4 and IPv6 address. Below are the complete geolocation information that you can query using this component.

* Country
* Region
* City
* Latitude & Longitude
* Time zone
* ZIP code
* ISP
* Domain
* Netspeed
* Area code
* Weather information
* Mobile information
* Elevation
* Usage Type
* Address Type
* IAB Category
* District
* ASN
* AS
* AS Domain
* AS Usage Type
* AS CIDR

This component works together with IP2Location BIN data file.

You can download the free BIN data file at https://lite.ip2location.com or a commercial BIN data (high accuracy) at https://www.ip2location.com.




Got any IP2Location Geolocation .NET Component Question?





Info

Version: 9.1.0
Author(s): IP2Location.com
Last Update: Tuesday, September 2, 2025
.NET Fiddle: Online Example
Project Url: https://www.ip2location.com/documentation/ip2location-libraries/dotnet
NuGet Url: https://www.nuget.org/packages/IP2Location.IPGeolocation


Install
Install-Package IP2Location.IPGeolocation
dotnet add package IP2Location.IPGeolocation
paket add IP2Location.IPGeolocation
IP2Location.IPGeolocation Download (Unzip the "nupkg" after downloading)

.NETStandard 2.0 net472


Tags



STATS

must-have-score

3

avg-downloads-per-day

140

days-since-last-release

37