Questions tagged [pingexception]

The exception that is thrown when a Send or SendAsync method calls a method that throws an exception.

MSDN:

The Ping class throws this exception to indicate that while sending an Internet Control Message Protocol (ICMP) Echo request, a method called by the Ping class threw an unhandled exception. Applications should check the inner exception of a PingException object to identify the problem.

The Ping class does not throw this exception if the ICMP Echo request fails because of network, ICMP, or destination errors. For such errors, the Ping class returns a PingReply object with the relevant IPStatus value set in the Status property.

More reading:

1 questions
12
votes
2 answers

Why i'm getting PingException?

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; …
user3596190
  • 257
  • 1
  • 4
  • 12