Check if domain is available for purchase - C# [closed]

匿名 (未验证) 提交于 2019-12-03 02:50:02

问题:

Is there any way that I check if a certain domain is available for purchase? If there is any library out there that will do this?

THanks

回答1:

You can take a look at: http://www.internetbs.net/ResellerRegistrarDomainNameAPI/api/01_domain_related/01_domain_check Its pretty straight forward to use:

https://testapi.internet.bs/Domain/Check?ApiKey=testapi&Password=testpass&Domain=example.com  

and the result would be:

transactid=e504cdbf00e7821e954f0f5a65249ff0 status=UNAVAILABLE domain=example.com minregperiod=1Y maxregperiod=10Y registrarlockallowed=YES privatewhoisallowed=YES realtimeregistration=YES 


回答2:

Take a look at this question: Who provides a WHOIS API?

..Yet another Google search that leads back to SO...



回答3:

Get a windows build of the common linux whois client or something similar. Do a system call to run that and parse its output.

Kind of kludgy but it is easy and quick.



回答4:

Why do you need C# to do this? can't you do a WHOIS or a grep?



回答5:

you can write an c# application using Watin Libarary and set the application go to a site like (www.register.com or ... ) and get the result you can set the application to read from a list of your domain names and get the results .



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!