2016年12月26日
摘要: Ping pingSender = new Ping(); PingReply reply = pingSender.Send("127.0.0.1",120);//第一个参数为ip地址,第二个参数为ping的时间 if(reply.Status == IPStatus.Success) { //通 } else { //不通 } 阅读全文
posted @ 2016-12-26 10:45 梦想&现实 阅读(2882) 评论(0) 推荐(1) 编辑