TimeService.UpdateNow Method (Byte[], UInt32)
Manually updates the system time value from the specified server.
Namespace: Microsoft.SPOT.Time
Assembly: Microsoft.SPOT.Time (in microsoft.spot.time.dll)
Syntax
public static TimeServiceStatus UpdateNow (
byte[] serverAddress,
UInt32tolerance
)
Parameters
- serverAddress
The address of the server to get the system time from. - tolerance
The maximum allowable difference between the system time and the server time before the time is re-synchronized, in milliseconds.
Return Value
The status of the time service.
Remarks
This method can be called while also using a scheduled time service.
Version Information
Available in the .NET Micro Framework versions 4.0 and 4.1.
See Also
Reference
TimeService Class
TimeService Members
Microsoft.SPOT.Time Namespace