Initializes a new instance of the Ping class.
The following code example demonstrates creating a Ping instance. The complete example is available in the Ping class overview.
Ping pingSender = new Ping ();
// When the PingCompleted event is raised,
// the PingCompletedCallback method is called.
pingSender.PingCompleted += new PingCompletedEventHandler (PingCompletedCallback);