System.Net.NetworkInformation.PingCompletedEventArgs Class

Provides data for the Ping.PingCompleted event.

See Also: PingCompletedEventArgs Members


public class PingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs


Instances of this class are passed to a System.Net.NetworkInformation.PingCompletedEventHandler method that is called when a erload:System.Net.NetworkInformation.Ping.SendAsync call completes. The erload:System.Net.NetworkInformation.Ping.SendAsync methods send an Internet Control Message Protocol (ICMP) echo request asynchronously and wait for a corresponding ICMP echo reply message. The PingCompletedEventArgs.Reply property contains the results of the ICMP echo request.


Namespace: System.Net.NetworkInformation
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0