Return difference between two Counter64 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 ulong Diff(
	Counter64 first,
	Counter64 second
)
Visual Basic
Public Shared Function Diff ( _
	first As Counter64, _
	second As Counter64 _
) As ULong
Visual C++
public:
static unsigned long long Diff(
	Counter64^ first, 
	Counter64^ second
)

Parameters

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

Return Value

Difference between the two values

See Also