System.Net.NetworkInformation.PingReply.Status Property

Gets the status of an attempt to send an Internet Control Message Protocol (ICMP) echo request and receive the corresponding ICMP echo reply message.


public IPStatus Status { get; }


Documentation for this section has not yet been entered.


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 and PingReply.Buffer properties will return zero, and the PingReply.Options property will return null.


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