pingexception

Why i'm getting PingException?

我是研究僧i 提交于 2020-01-03 08:32:27
问题 It was all working an hour ago and many days ago. The link i try to ping is: Link to ping This is the code in form1: nc = new NetworkConnection(); bool bval = nc.PingConnection(satellite_address); if (bval) { label19.Visible = true; label19.Text = "Internet Access"; } else { label19.Visible = true; label19.Text = "No Internet Access"; } When it's trying to execute this line: bool bval = nc.PingConnection(satellite_address); It's going to the nc class: using System; using System.Collections

Why i'm getting PingException?

纵然是瞬间 提交于 2020-01-03 08:32:09
问题 It was all working an hour ago and many days ago. The link i try to ping is: Link to ping This is the code in form1: nc = new NetworkConnection(); bool bval = nc.PingConnection(satellite_address); if (bval) { label19.Visible = true; label19.Text = "Internet Access"; } else { label19.Visible = true; label19.Text = "No Internet Access"; } When it's trying to execute this line: bool bval = nc.PingConnection(satellite_address); It's going to the nc class: using System; using System.Collections