Synchronize the local time with the TIME server using TCP protocol.
Namespace:
Rebex.Net
Assembly:
Rebex.Time (in Rebex.Time.dll)
Syntax
Visual Basic |
---|
Public Shared Sub SynchronizeSystemClock ( _ serverName As String _ ) |
C# |
---|
public static void SynchronizeSystemClock( string serverName ) |
Parameters
- serverName
- Type: System..::..String
The time server hostname.