System.Net.NetworkInformation.IPGlobalProperties.GetUdpIPv4Statistics Method

Provides User Datagram Protocol/Internet Protocol version 4 (UDP/IPv4) statistical data for the local computer.

Syntax

public abstract UdpStatistics GetUdpIPv4Statistics ()

Returns

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

Remarks

UDP is a connectionless transport layer protocol that is responsible for sending and receiving datagrams. It is defined in IETF RFC 768.

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