SystemClock.AdjustClock Method
Namespace: Rebex
Assembly: Rebex.Time.dll (version 7.0.9083)
AdjustClock(NtpTimestampDifference)
Adjusts the local clock by adding the specified timestamp offset.
Declaration
public static void AdjustClock(NtpTimestampDifference offset)
Parameters
Type | Name | Description |
---|---|---|
NtpTimestampDifference | offset | Offset between the server time and local time. |
AdjustClock(NtpResponse)
Adjusts the local clock by adding the timestamp offset of the specified response
Declaration
public static void AdjustClock(NtpResponse response)
Parameters
Type | Name | Description |
---|---|---|
NtpResponse | response | The time server response. |