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

Time.SynchronizeSystemClock Method

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

SynchronizeSystemClock(String, Int32, Boolean)

Synchronize the local time with the TIME server.

Declaration
public static void SynchronizeSystemClock(string serverName, int serverPort, bool useTcp)
Parameters
Type Name Description
String serverName

The time server hostname.

Int32 serverPort

The time server port.

Boolean useTcp

True if communicate via TCP; false to communicate via UDP.

SynchronizeSystemClock(String, Int32)

Synchronize the local time with the TIME server using TCP protocol.

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 TIME server using TCP protocol.

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