且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在我的网站上添加域可用性检查

更新时间:2022-12-18 18:08:17

域可用性是通过名为whois的协议确定的。如果域名不可用,您将获得其注册数据。如果域名可用,您将无法获得所有者数据。您可以阅读有关如何发送\ceceive whois消息的信息,或者您可以使用已经知道如何执行此操作的预先编写的组件,例如



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



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


请参阅此内容,

http://***.com/questions/1868631/check-if-domain-is-available-for-purchase-c-sharp [ ^ ]





http://www.vbasic.net/check-domain-name-availability-real-time-enom-api-visual-basic-asp-net-4-5/ [ ^ ]

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?

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/[^]


Refer this,
http://***.com/questions/1868631/check-if-domain-is-available-for-purchase-c-sharp[^]


http://www.vbasic.net/check-domain-name-availability-real-time-enom-api-visual-basic-asp-net-4-5/[^]