Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5f6c78d374
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (12 sloc) 0.429 kb
//an example of how to lookup the isp or org of a ip address
using System;
using System.IO;
class Appa0{
public static void Main(String[] args){
//open the database
LookupService ls = new LookupService("/usr/local/share/GeoIP/GeoIPASNumv6.dat", LookupService.GEOIP_STANDARD);
//get org of the ip address
String orgorisp = ls.getOrgV6("2001:4860:0:1001::68");
Console.Write("asn: " + orgorisp + "\n");
Jump to Line
Something went wrong with that request. Please try again.