neXn.Ipify
4.0.0
dotnet add package neXn.Ipify --version 4.0.0
NuGet\Install-Package neXn.Ipify -Version 4.0.0
<PackageReference Include="neXn.Ipify" Version="4.0.0" />
<PackageVersion Include="neXn.Ipify" Version="4.0.0" />
<PackageReference Include="neXn.Ipify" />
paket add neXn.Ipify --version 4.0.0
#r "nuget: neXn.Ipify, 4.0.0"
#:package neXn.Ipify@4.0.0
#addin nuget:?package=neXn.Ipify&version=4.0.0
#tool nuget:?package=neXn.Ipify&version=4.0.0
neXn.Ipify
A lightweight modern .NET client for the ipify and Geo IPify APIs.
Features
- Retrieve your public IPv4 or IPv6 address
- Query Geo IPify geolocation information
- Async-first API
CancellationTokensupport- Built on
HttpClient - Uses
System.Text.Json - No unnecessary third-party runtime dependencies
- Designed for .NET 10
Public IP Address
using System.Net;
using neXn.Ipify;
using IpifyClient client = new();
IPAddress address = await client.GetPublicIPAddressAsync();
Console.WriteLine(address);
The universal ipify endpoint automatically returns the public IPv4 or IPv6 address used for the request.
Geo IPify
Geo IPify requires an API key.
using neXn.Ipify;
using IpifyClient client = new("<YOUR_API_KEY>");
IpifyGeoInformation information =
await client.GetGeoInformationAsync(
"8.8.8.8",
IpifyClient.QueryType.IpAddress);
Console.WriteLine(information);
Supported query types:
IpifyClient.QueryType.IpAddress
IpifyClient.QueryType.Email
IpifyClient.QueryType.Domain
If no query value is supplied, Geo IPify returns information for the address making the request:
IpifyGeoInformation information =
await client.GetGeoInformationAsync();
About ipify
ipify provides a simple public IP address API.
Geo IPify extends it with IP geolocation and related information.
License
Licensed under the MIT License.
Disclaimer
This is an independent open-source project and is not affiliated with, endorsed by, or sponsored by ipify.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
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 |
|---|---|---|
| 4.0.0 | 49 | 9/16/2026 |