are there any who is API of internic

  • Thread starter Thread starter sotec
  • Start date Start date
S

sotec

i'd like to make a program that getting some domain name
so i need to get domain name seaching API like google Search API
is it exsit?? i'm still not find this...
couly you tell me this if it exsit....?
 
Sotec,
i'd like to make a program that getting some domain name
so i need to get domain name seaching API like google Search API
is it exsit?? i'm still not find this...

The .NET libraries don't have a ready-made class/API for WHOIS queries, but
that usually isn't a problem. This is because the WHOIS service is a very
simple text-based ("telnet") interface, and it is documented in RFC 954:

http://www.ietf.org/rfc/rfc0954.txt

The only thing you need to do is send a text string to port 43 of a WHOIS
server. For example, try the following command from the command line:

telnet whois.arin.net 43

....and then type in "@microsoft.com" and press Enter. You get a long reply.

Now, to do this programmatically, you could use the
System.Net.Sockets.TcpClient class. See the .NET Framework documentation for
examples. Another option would be to use Indy.Sockets components from here:

http://www.indyproject.org/Sockets/Download/DotNet.en.iwp

And the docs: http://docs.projectindy.org/online/TIdWhois.html

For you information, Indy.Sockets is an open-source project for TCP/IP
programming.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 
Back
Top