• 多线程扫描ip

    public void CheckComputer(Object stateinfo)//设置参数 线程池用得到 { IPAddress ip = IPAddress.Parse(strip); try { this.hostname = Dns.GetHostEntry(IPAddress.Parse(strip)).HostName; } catch { this.hostname = "wu fa jian ce "; } //ScanComputer.Form1.GetComputerDnsDelegate d = form1.AddStatusInfoToListBox; form1.AddStatusInfoToListBox(strip,hostname); }

    0
    85
    53KB
    2013-04-06
    18
  • 线程池示例

    这是基于c#的线程池示例,应用于多线程等等

    1
    59
    22KB
    2013-04-06
    0
关注 私信
上传资源赚积分or赚钱