Advertisement
4_2005-2006 Libraries #170762

IP2Country - Return country name and flag from an IP address

This dll loads an IP list with country names, county codes, start/end IP ranges in memory and 210 small country flags from the dll into an imagelist. When given an IP address it returns the country name. It also returns the country code to load the corresponding flag from the imagelist into a picturebox, imagebox, listview, etc. Depending on the speed of the computer it returns the country names/codes from 100000 IP's in about 0,5 seconds. I'm sure many of you can improve this. Use an modify as you wish.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine