Calculates and returns current agents engine time. ValidateEngineTime()()()() is called prior to calculation to make sure current engine time is timely enough to use. EngineTime is calculated as last received engine time + difference in seconds between the time stamp saved when last time value was received and current time (using the internal GMT clock).

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

Syntax

C#
public int GetCurrentEngineTime()
Visual Basic
Public Function GetCurrentEngineTime As Integer
Visual C++
public:
int GetCurrentEngineTime()

Return Value

Adjusted engine time value or 0 if time is outside the time window.

See Also