WhoisObserver

The program aggregates a number of whois servers. Creates the necessary request and interprets the response into a common object.


Keywords
whios, parsin, lookup, dns, nslookup, parsing-library, whois, whois-client
License
MIT
Install
Install-Package WhoisObserver -Version 1.0.1

Documentation

WhoisObserver

The program aggregates a number of whois servers. Creates the necessary request and interprets the response into a common object.

Servers used:

Example

Async version

using WhoisObserver;
using WhoisObserver.Services.Model;
...

async void Test1()
{
    var st0 = new WhoisClient();
    var st1 = st0.GetResponceJsonAsync("ya.ru", ServersClientFamily.IpApi).Result;
    Console.WriteLine(st1.CountryCode);
}

Test1();

image

using WhoisObserver;
using WhoisObserver.Services.Model;
...

async void Test2()
{
    var st0 = new WhoisClient();
    var st1 = st0.GetResponceModelAsync("13.228.116.142", ServersClientFamily.IpApi).Result;
    Console.WriteLine(st1.CountryCode);
}

Test2());

image

Download

Nuget reference

Dependencies

  • .NETStandard 2.0
  • AutoMapper (>= 10.1.1)
  • Newtonsoft.Json (>= 13.0.1)
  • System.Net.Http.Json (>= 6.0.0)
  • System.Text.Json (>= 6.0.5)

Feedback and bug reports

Telegram: https://t.me/Hekkaaa

Email: silencemyalise@gmail.com