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

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

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

Parameters

first
Type: SnmpSharpNet..::..Counter32
First or older value
second
Type: SnmpSharpNet..::..Counter32
Second or newer value

Return Value

Difference between the two values

See Also