Provides information about the status and data resulting from a erload:System.Net.NetworkInformation.Ping.Send or erload:System.Net.NetworkInformation.Ping.SendAsync operation.
See Also: PingReply Members
The System.Net.NetworkInformation.Ping class attempts to send an Internet Control Message Protocol (ICMP) echo request to a remote computer and receive information back from the computer via an ICMP echo reply message. The System.Net.NetworkInformation.Ping class uses instances of the System.Net.NetworkInformation.PingReply class to return information about the operation, such as its status and the time taken to send the request and receive the reply.
The erload:System.Net.NetworkInformation.Ping.Send methods return instances of the System.Net.NetworkInformation.PingReply class directly. The erload:System.Net.NetworkInformation.Ping.SendAsync methods return a System.Net.NetworkInformation.PingReply in the System.Net.NetworkInformation.PingCompletedEventHandler method's System.Net.NetworkInformation.PingCompletedEventArgs parameter. The System.Net.NetworkInformation.PingReply is accessed through the PingCompletedEventArgs.Reply property.
If the value of PingReply.Status is not IPStatus.Success, you should not use the values returned by the PingReply.RoundtripTime, PingReply.Options or PingReply.Buffer properties. The PingReply.RoundtripTime property will return zero, the PingReply.Buffer property will return an empty array, and the PingReply.Options property will return null.