Provides User Datagram Protocol (UDP) statistical data.
| C# | Visual Basic |
public sealed class UdpStatistics
Public NotInheritable Class UdpStatistics
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| DatagramsReceived |
Gets the number of User Datagram Protocol (UDP) datagrams that were received.
| |
| DatagramsSent |
Gets the number of User Datagram Protocol (UDP) datagrams that were sent.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IncomingDatagramsDiscarded |
Gets the number of User Datagram Protocol (UDP) datagrams that were received and discarded because of port errors.
| |
| IncomingDatagramsWithErrors |
Gets the number of User Datagram Protocol (UDP) datagrams that were received and discarded because of errors other than bad port information.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString()()() | (Inherited from Object.) | |
| UdpListeners |
Gets the number of local endpoints that are listening for User Datagram Protocol (UDP) datagrams.
|
Instances of this class are returned by the GetUdpIPv4Statistics()()() and GetUdpIPv6Statistics()()() methods to give applications access to UDP traffic information.
The information in this class correlates to the management information objects described in .
| Object | |
| UdpStatistics | |
[!:System.Net.NetworkInformation.UdpStatistics]