Synchronize the local time with the NTP server.
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.