IPv4InterfaceStatistics Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides statistical data for a network interface on the local computer.
public ref class IPv4InterfaceStatistics abstract
public abstract class IPv4InterfaceStatistics
type IPv4InterfaceStatistics = class
Public MustInherit Class IPv4InterfaceStatistics
- Inheritance
-
IPv4InterfaceStatistics
Remarks
This class is used by the GetIPv4Statistics method to return network traffic information for an interface.
Constructors
IPv4InterfaceStatistics() |
Initializes a new instance of the IPv4InterfaceStatistics 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) |