System.Net.NetworkInformation.PingReply.Buffer Property

Gets the buffer of data received in an Internet Control Message Protocol (ICMP) echo reply message.

Syntax

public byte[] Buffer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The data buffer sent with the ICMP echo request is returned to the sender in the echo reply so the roundtrip travel time for a packet of a known size can be computed. The data buffer, combined with the PingOptions.DontFragment option, can be used to discover the maximum transmission unit for the network path between the source and destination computers. For additional information, see "Traceroute" in RFC 1574, Section 3.2, available at http://www.ietf.org.

The default buffer used with erload:System.Net.NetworkInformation.Ping.Send and erload:System.Net.NetworkInformation.Ping.SendAsync contains 32 bytes of data.

Requirements

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