System.Net.NetworkInformation.IPGlobalProperties.GetTcpIPv4Statistics Method

Provides Transmission Control Protocol/Internet Protocol version 4 (TCP/IPv4) statistical data for the local computer.

Syntax

public abstract TcpStatistics GetTcpIPv4Statistics ()

Returns

A System.Net.NetworkInformation.TcpStatistics object that provides TCP/IPv4 traffic statistics for the local computer.

Remarks

TCP is a transport layer protocol that is responsible for reliably sending and receiving data packets. It is defined in IETF RFC 793.

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