Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tag: v1.16
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (12 sloc) 0.415 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/GeoIPOrg.dat", LookupService.GEOIP_STANDARD);
//get org of the ip address
String orgorisp = ls.getOrg("");
Console.Write(" org: " + orgorisp + "\n");
Jump to Line
Something went wrong with that request. Please try again.