System.Net.NetworkInformation.PingReply.Options Property

Gets the options used to transmit the reply to an Internet Control Message Protocol (ICMP) echo request.

Syntax

public PingOptions Options { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The TTL defines the number of times nodes can forward a packet as it travels between its source and destination. If the number of forwards, also known as hops, exceeds the value specified for the TTL, the packet is deemed undeliverable and is discarded.

The PingOptions.DontFragment value specified in the ICMP echo request controls packet fragmentation. If PingOptions.DontFragment is true and the packet size exceeds the maximum transmission unit of the network path taken by the packet, the packet is discarded and the IPStatus.PacketTooBig error is returned.

Requirements

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