Ntp.SynchronizeSystemClock Method
Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9048)
SynchronizeSystemClock(String, Int32)
Synchronize the local time with the NTP server.
Declaration
public static void SynchronizeSystemClock(string serverName, int serverPort)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The time server hostname. |
Int32 | serverPort | The time server port. |
SynchronizeSystemClock(String)
Synchronize the local time with the NTP server.
Declaration
public static void SynchronizeSystemClock(string serverName)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The time server hostname. |
SynchronizeSystemClock()
Synchronize the local time with the server. Inherited from TimeBase.
Declaration
public void SynchronizeSystemClock()