WhoisParsers: Whois and RWhois Parsers and Crawlers C# Library
This library provides two main features:
Parsers to read Whois records from offline bulk whois database dumps of IANA organizations (ARIN, AFRINIC, APNIC, LACNIC, and RIPE)
Crawlers to retrieve online RWhois data from ARIN Referral Whois servers. This is a partial implementation of RFC 2167 that supports both bulk crawls using the -xfer command and incremental crawls.
This library does NOT provide features to contact the REST APIs such as ARIN’s Whois-RWS.
WhoisParsers: Whois and RWhois Parsers and Crawlers C# Library
This library provides two main features:
This library does NOT provide features to contact the REST APIs such as ARIN’s Whois-RWS.
Nuget Package Installation
Create a new console C# project, then install the WhoisParsers NuGet package by using the Visual Studio GUI or by using this command in the Package Manager Console:
Parsing offline bulk Whois databases
Creating a parser instance for reading ARIN, APNIC, LACNIC, or RIPE databases
Creating a parser instance for reading AFRINIC databases
Parsing Whois sections
You can get the sample arin.sample.txt file from here.
Public functions provided by WhoisParser include:
Incrementing IPv4 and IPv6 IP addresses
The library contains functions to increment IPV4 and (more importantly) IPv6 IP addresses.
The output looks like this:
Converting parsed Whois database sections to structured C# objects
Documentation TODO
Crawling an RWhois Referral server
Documentation TODO
Crawling multiple RWhois Referral servers at the same time
Documentation TODO