IPInterfaceStatistics Class
Collapse the table of content
Expand the table of content

IPInterfaceStatistics Class

.NET Framework (current version)
 

Provides Internet Protocol (IP) statistical data for an network interface on the local computer.

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

System.Object
  System.Net.NetworkInformation.IPInterfaceStatistics

public abstract class IPInterfaceStatistics

NameDescription
System_CAPS_protmethodIPInterfaceStatistics()

Initializes a new instance of the IPInterfaceStatistics 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 GetIPStatistics method to return network traffic information for an interface.

.NET Framework
Available since 4.5

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