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.5.0.0 (0.5.0.0)

Syntax

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

Return Value

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

See Also