Ipify.Wrapper 2.0.0

Suggested Alternatives

neXn.IpifyWrapper

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Ipify.Wrapper --version 2.0.0
                    
NuGet\Install-Package Ipify.Wrapper -Version 2.0.0
                    
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="Ipify.Wrapper" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ipify.Wrapper" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Ipify.Wrapper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ipify.Wrapper --version 2.0.0
                    
#r "nuget: Ipify.Wrapper, 2.0.0"
                    
#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.
#addin nuget:?package=Ipify.Wrapper&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Ipify.Wrapper&version=2.0.0
                    
Install as a Cake Tool

Donate

IpifyLibrary

An easy to use library/wrapper/api-link library for your .NET projects.

Enjoying this?

Just star the repo or make a donation.

Donate0

Your help is valuable since this is a hobby project for all of us: we do development during out-of-office hours.

Class Construct

alternate text is missing from this package README image

Usage (Code sample)

//Get IPv4
string myIPv4 = Ipify.GetPublicAddress();
IPAddress myIPv4Address = Ipify.GetPublicIPAddress()();
//Get IPv6
string myIPv6 = Ipify.GetPublicv6Address();
IPAddress myIPv6Address = Ipify.GetPublicIPv6Address();

//Get Geolocation Information of an IP
GeoIPLocation g = new("<yourAPIKeyHere>")

ipifyWrapper.Ipify.GeoIPLocation.IpifyGeoInformation ipInformation = acc.GetInformation("<QUERY IP>");
var response = g.Get("46.114.106.243", GeoIPLocation.QueryType.IP_Address);

Contribution

Pull requests are very welcome.

Copyrights

IpifyLibrary was initially written by Markus Karl Wackermann.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Framework net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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

Complete rework & cleanup