Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Nekiplay/IP-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IP-API

API for IP

Codacy Badge

If open Port:

IP.API.Port port = new IP.API.Port("IP");
bool valid = port.CheckPort(80);

Get IP Information:

IP.API.Information IpInformation = new IP.API.Information("IP");

bool IsTor = information.IsTorAsync().Result;

bool ipvalid = IpInformation.IP.IpValid;
string country = IpInformation.IP.Country;
string city = IpInformation.IP.City;
string region = IpInformation.IP.Region;

string asn = IpInformation.IP.ASN;
string provider = IpInformation.IP.Provider;

double Latitude = IpInformation.IP.Latitude;
double Longitude = IpInformation.IP.Longitude;

double CountryPopulation = IpInformation.IP.CountryPopulation;

Get ICMP Traffic:

IP.API.ICMP icmp = new IP.API.ICMP("IP");
int icmppower = icmp.Power; /* Maximum power 4 */

Releases

No releases published

Packages

No packages published

Languages