Query a time server for the current time and synchronize the local system clock with that value.
For a list of all members of this type, see NetworkTime Members.
System.Object
SocketTools.NetworkTime
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The NetworkTime class library provides an interface for synchronizing the local system's time and date with that of a remote server. The time values returned are in in Coordinated Universal Time and be adjusted for the local host's timezone. The class enables developers to query a server for the current time and then update the system clock if desired.
Namespace: SocketTools
Assembly: SocketTools.NetworkTime (in SocketTools.NetworkTime.dll)