Return difference between two Counter32 values taking counter roll-over into account.

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static uint Diff(
	Counter32 first,
	Counter32 second
)
Public Shared Function Diff ( _
	first As Counter32, _
	second As Counter32 _
) As UInteger
public:
static unsigned int Diff(
	Counter32^ first, 
	Counter32^ second
)

Parameters

first
Counter32
First or older value
second
Counter32
Second or newer value

Return Value

Difference between the two values

See Also