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.


public int Ttl { get; set; }


Documentation for this section has not yet been entered.


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.


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