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)
Dependencies
.NETStandard 2.0
- Newtonsoft.Json(>= 12.0.3)
- Newtonsoft.Json(>= 12.0.3)
Tags
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.