Click or drag to resize

NetStatistics Methods

The NetStatistics type exposes the following members.

Methods
 NameDescription
Public methodAddBytesReceived Adds a specific amount to the total bytes received.
Public methodAddBytesSent Adds a specific amount to the total bytes sent.
Public methodAddPacketLoss Adds a specific amount to the total packet loss count.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIncrementPacketLoss Increments the count of lost packets by one.
Public methodIncrementPacketsReceived Increments the count of received packets by one.
Public methodIncrementPacketsSent Increments the count of sent packets by one.
Public methodReset Resets all statistical counters to zero.
Public methodToString Returns a string representation of the current network statistics.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also