csharp develop's room

 

实现大批量域名查询 及 whois查询


using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.IO;

public partial class _Default : System.Web.UI.Page 
{
    
public string strServerCom = "whois.internic.com";
    
public string strServerCN = "whois.cnnic.net.cn";
    
public string strServerOth0 = "drop.cnnic.net.cn";
    
//public string strServerOth = "whois.hichina.com";
    public string strServerOth = "whois.hichina.com";
    
protected void Page_Load(object sender, EventArgs e)
    
{
        
if (!IsPostBack)
        
{
            lblResult.Text 
= "";
        }

    }


    
域名查询事件

    
新域名查询事件

    
调用查询Whois函数

    
调用查询注册与否函数

    
分析返回结果

    
自动选择WHOIS服务器
}


下载地址:https://files.cnblogs.com/web263/31120913467.rar

posted on 2007-08-10 15:07  weboy  阅读(1602)  评论(2)    收藏  举报

导航