System 2.0.0.0 4.0.0.0 System.Object

The class attempts to send an Internet Control Message Protocol (ICMP) echo request to a remote computer and receive information back from the computer via an ICMP echo reply message. The class uses instances of the class to return information about the operation, such as its status and the time taken to send the request and receive the reply.

The methods return instances of the class directly. The methods return a in the method's parameter. The is accessed through the property.

If the value of is not , you should not use the values returned by the , or properties. The property will return zero, the property will return an empty array, and the property will return null.

Provides information about the status and data resulting from a or operation.

- Property
  2.0.0.0
  4.0.0.0
  System.Net.IPAddress To be added.

  The returned by any of the overloads can originate from a malicious remote computer. Do not connect to the remote computer using this address. Use DNS to determine the IP address of the machine to which you want to connect.

  Gets the address of the host that sends the Internet Control Message Protocol (ICMP) echo reply.

- Property
  2.0.0.0
  4.0.0.0
  System.Byte[] To be added.

  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 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 and contains 32 bytes of data.

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

- Property
  2.0.0.0
  4.0.0.0
  System.Net.NetworkInformation.PingOptions To be added.

  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 value specified in the ICMP echo request controls packet fragmentation. If 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 error is returned.

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

- Property
  2.0.0.0
  4.0.0.0
  System.Int64 To be added.

  If the Echo request fails, the time is reported as 0, which is also a valid value when the request succeeds. You must check the to determine whether the value returned by this property should be ignored.

  Gets the number of milliseconds taken to send an Internet Control Message Protocol (ICMP) echo request and receive the corresponding ICMP echo reply message.

- Property
  2.0.0.0
  4.0.0.0
  System.Net.NetworkInformation.IPStatus To be added.

  If the value of is not , you should not use the values returned by the , or properties. The and properties will return zero, and the property will return null.

  Gets the status of an attempt to send an Internet Control Message Protocol (ICMP) echo request and receive the corresponding ICMP echo reply message.