Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ntp.SynchronizeSystemClock Method

Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9147)

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()
In This Article
  • SynchronizeSystemClock(String, Int32)
  • SynchronizeSystemClock(String)
  • SynchronizeSystemClock()
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies