Sends a request for time to the NTP server passed to the constructor
and waits for the answer that contains the time values to calculate the offset
between the local and server time.
Namespace:
Rebex.Net
Assembly:
Rebex.Time (in Rebex.Time.dll)
Syntax
Visual Basic |
---|
Public Function GetTime As NtpResponse |
C# |
---|
public NtpResponse GetTime() |