Internet Direct (Indy) Version 9.0.2 Beta
TIdWhois.WhoIs
Performs a query for a domain name.

function WhoIs(const ADomain: string): string;
Description
WhoIs is a method that queries a WhoIs server for the query specified by the ADomain. The host and port properties have to be set for the appropriate server before calling this method.