Info
Version: | 9.0.2 |
Author(s): | IP2Location.com |
Last Update: | Wednesday, March 13, 2024 |
.NET Fiddle: | Online Example |
Project Url: | https://www.ip2location.com/development-libraries/ip2location/nuget |
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
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.
As an alternative, you can also call the IP2Location Web Service using an API key. If you don't have an API key, you can subscribe for one at https://www.ip2location.com/web-service/ip2location to get started.