IPInterfaceStatistics Class

Definition

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

public ref class IPInterfaceStatistics abstract
public abstract class IPInterfaceStatistics
type IPInterfaceStatistics = class
Public MustInherit Class IPInterfaceStatistics
Inheritance
IPInterfaceStatistics

Remarks

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

Constructors

IPInterfaceStatistics()

Initializes a new instance of the IPInterfaceStatistics class.

Properties

BytesReceived

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

BytesSent

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

IncomingPacketsDiscarded

Gets the number of incoming packets that were discarded.

IncomingPacketsWithErrors

Gets the number of incoming packets with errors.

IncomingUnknownProtocolPackets

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

NonUnicastPacketsReceived

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

NonUnicastPacketsSent

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

OutgoingPacketsDiscarded

Gets the number of outgoing packets that were discarded.

OutgoingPacketsWithErrors

Gets the number of outgoing packets with errors.

OutputQueueLength

Gets the length of the output queue.

UnicastPacketsReceived

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

UnicastPacketsSent

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

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to