Ping ping = new Ping(); PingReply reply = ping.Send("119.75.218.45");//百度IP if(reply.Status == IPStatus.Success) { MessageBox.Show("已联网"); } else { MessageBox.Show("未联网"); }
135-1821-9792
Copyright © 2009-2022 www.kswsj.com 成都快上网科技有限公司 版权所有 蜀ICP备19037934号
在线咨询
拨打电话