Click here to Skip to main content
15,892,768 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
what will be the code in c# to check whether domain name is available for registration or not.
example is given at this link

http://www.1and1.com/domain-names#stage[^]



i have tried to find help on net but failed.
can someone help me to do this?
Posted
Updated 12-Mar-15 2:52am
v2
Comments
Sergey Alexandrovich Kryukov 12-Mar-15 1:33am    
And how much are you going to charge for a domain? If I give you an advice, what percent are you going to pay me in royalty? :-)

Seriously, this is not a question to experts. This is more of "please do my job for me". Do you really think that if someone shows you how to add a text box, it will help you to cell domain or just provide some domain information service? No. If you don't know how to add a text box, you don't really do any ASP.NET development. Please understand, not many like to waste time.

—SA
Member 11336034 12-Mar-15 2:21am    
Sergey Alexandrovich Kryukov thanks.
i dont have problem to add text box etc. bro i am working on a project. this is the requirement of that project. i need help related to script of searching availability.
Sergey Alexandrovich Kryukov 12-Mar-15 8:35am    
Sorry if I did not understand you, but this is how your question looks. I would advise to click "Improve question"...
—SA

Domain availability is determined via a protocol called "whois". If a domain is not available you'll get data back on its registration. If the domain is available you won't get owner data back. You can read up on how to send\receive whois messages or you can just use a pre-written component that already knows how to do this like

https://whoisclient.codeplex.com/[^]

https://coderbuddy.wordpress.com/2010/10/12/a-simple-c-class-to-get-whois-information/[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900