System.Net.NetworkInformation.IPGlobalProperties.GetIcmpV4Statistics Method

Provides Internet Control Message Protocol (ICMP) version 4 statistical data for the local computer.

Syntax

public abstract IcmpV4Statistics GetIcmpV4Statistics ()

Returns

An System.Net.NetworkInformation.IcmpV4Statistics object that provides ICMP version 4 traffic statistics for the local computer.

Remarks

ICMP is a set of messages for use with Internet Protocol version 4 (IPv4). ICMP is used by IPv4 nodes to report errors encountered in processing data packets and to perform other Internet layer functions. ICMP version 4 is defined in IETF RFC 792.

For details on the ICMP version 4 traffic statistics that are available to applications, see the System.Net.NetworkInformation.IcmpV4Statistics class documentation. Note that the System.Net.NetworkInformation.IcmpV4Statistics object returned by this method reflects the statistics as of the time the object is created. This information is not updated dynamically.

Requirements

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