Table of Contents

Namespace VpnHood.Net.IpLocations.Providers.Offlines

Classes

Ip2LocationDbParser

Provides the means to build the local location databases from IP2Location's LITE DB1 CSV, which maps IP ranges to countries.

LocalIpLocationProvider

Provides locations, the country only, from IP ranges held in memory, which Deserialize(Stream, string?) reads and BuildLocalIpLocationDb(Stream, string, CancellationToken) builds.

LocalIpLocationProvider.IpRangeInfo

Represents one IP range and its country.

LocalIpRangeLocationProvider

Provides locations, the country only, and each country's IP ranges, from a zip with an entry of IP ranges per country (cc.ips), which BuildLocalIpRangeLocationDb(Stream, string, CancellationToken) builds.