Dns和IPHostEntry

IPHostEntry ipentry = Dns.Resolve("www.baidu.com"); IPHostEntry ipentry = Dns.GetHostByAddress("23.34.3.43");

通过域名或者ip地址获取主机信息

results matching ""

    No results matching ""