Get Started With IP2Location Pascal Module

Dependencies

This library requires IP2Location BIN database to function. You may download the BIN database at


Installation

  1. Download pascal library and IP2Location database.

  2. Decompress the pascal library.

  3. Run the sample code provided inside the file.


Sample Codes

Query geolocation information from BIN database

Refer to ip2location/ip2location-pascal


IP2Location Sample Database (BIN)

The sample BIN files have a limited scope and are only valid for the following IP ranges:

  1. IPv4 : 0.0.0.0 - 7.255.255.255
  2. IPv6 : 2a04:0000:0000:0000:0000:0000:0000:0000 - 2a04:ffff:ffff:ffff:ffff:ffff:ffff:fff