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.

Syntax

public IPStatus Status { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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.

Requirements

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