在C#中如何通过拼IP地址检测某台机器的网络连接是否畅通有没有源代码[解决办法]try { IPHostEntry host = Dns.GetHostByAddress( this.textBox1.Text ); //通了 } catch { //没通 }