Table of Contents

Class PingConfiguration

Namespace
Xping.Sdk.Actions.Configurations
Assembly
Xping.Sdk.dll

Represents the configuration settings for a network ping operation.

public class PingConfiguration
Inheritance
PingConfiguration
Inherited Members

Properties

Timeout

Gets or sets the maximum amount of time to wait for the ICMP echo reply message after sending the echo message.

public TimeSpan Timeout { get; set; }

Property Value

TimeSpan

A TimeSpan that specifies the time to wait for an ICMP echo reply message. The default value is 5 seconds.

Exceptions

ArgumentOutOfRangeException

Thrown when the value specified for a set operation is less than or equal to Zero.

Ttl

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

public int Ttl { get; set; }

Property Value

int

An integer value that specifies the number of times the Ping data packets can be forwarded. The default is 128.

Exceptions

ArgumentOutOfRangeException

Thrown when the value specified for a set operation is less than or equal to zero.