System.Net.NetworkInformation.PingOptions.Ttl Property

Gets or sets the number of routing nodes that can forward the System.Net.NetworkInformation.Ping data before it is discarded.

Syntax

public int Ttl { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

As gateways and routers transmit packets through a network, they decrement the current Time-to-Live (TTL) value found in the packet header. If the TTL value reaches zero, the packet is deemed undeliverable and is discarded. This option is useful if you want to test the number of routers and gateways used to transmit the 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