WhoisClient.NET

Whois .NET Library is a .NET class library for domain name whois queries.

download Whois for .NETpurchase Whois for .NET

It provides WHOIS search functionality with your application using any .NET language.
The Library is written entirely in managed code.

It performs recursive WHOIS queries and automatically finds the correct WHOIS server. The component contains a build in database with WHOIS servers for the main TLD’s available on the Internet and has internal logic to find the authoritative WHOIS server for the new generic TLD’s that are or will be registered (known as gTLD).

C# Example usage:

using System;
using DidiSoft.Whois;
 
public class WhoisDemo
{
  public static void Main(string[] args)
  {
    WhoisClient whois = new WhoisClient();
    Console.WriteLine( whois.Query("yahoo.com") );
  }
}

VB.NET

Imports System;
Imports DidiSoft.Whois;
 
Public Class WhoisDemo
  Public Shared Sub Main(ByVal args As String())
    Dim whois As New WhoisClient()
    Console.WriteLine( whois.Query("yahoo.com") )
  End Sub
End Class