IPv4InterfaceStatistics Class
TOC
Collapse the table of content
Expand the table of content

IPv4InterfaceStatistics Class

 

Provides statistical data for a network interface on the local computer.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

System.Object
  System.Net.NetworkInformation.IPv4InterfaceStatistics

Public MustInherit Class IPv4InterfaceStatistics

NameDescription
System_CAPS_protmethodIPv4InterfaceStatistics()

Initializes a new instance of the IPv4InterfaceStatistics class.

NameDescription
System_CAPS_pubpropertyBytesReceived

Gets the number of bytes that were received on the interface.

System_CAPS_pubpropertyBytesSent

Gets the number of bytes that were sent on the interface.

System_CAPS_pubpropertyIncomingPacketsDiscarded

Gets the number of incoming packets that were discarded.

System_CAPS_pubpropertyIncomingPacketsWithErrors

Gets the number of incoming packets with errors.

System_CAPS_pubpropertyIncomingUnknownProtocolPackets

Gets the number of incoming packets with an unknown protocol that were received on the interface.

System_CAPS_pubpropertyNonUnicastPacketsReceived

Gets the number of non-unicast packets that were received on the interface.

System_CAPS_pubpropertyNonUnicastPacketsSent

Gets the number of non-unicast packets that were sent on the interface.

System_CAPS_pubpropertyOutgoingPacketsDiscarded

Gets the number of outgoing packets that were discarded.

System_CAPS_pubpropertyOutgoingPacketsWithErrors

Gets the number of outgoing packets with errors.

System_CAPS_pubpropertyOutputQueueLength

Gets the length of the output queue.

System_CAPS_pubpropertyUnicastPacketsReceived

Gets the number of unicast packets that were received on the interface.

System_CAPS_pubpropertyUnicastPacketsSent

Gets the number of unicast packets that were sent on the interface.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

This class is used by the GetIPv4Statistics method to return network traffic information for an interface.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft