System.Net.NetworkInformation.IPGlobalProperties.GetIPv4GlobalStatistics Method

Provides Internet Protocol version 4 (IPv4) statistical data for the local computer.

Syntax

public abstract IPGlobalStatistics GetIPv4GlobalStatistics ()

Returns

An System.Net.NetworkInformation.IPGlobalStatistics object that provides IPv4 traffic statistics for the local computer.

Remarks

IPv4 is a network layer protocol that is responsible for routing data packets from its source computer to its destination.

For details on the IP traffic statistics available to applications, see the System.Net.NetworkInformation.IPGlobalStatistics class documentation. Note that the object returned by this method reflects the statistics as of the time the System.Net.NetworkInformation.IPGlobalStatistics 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