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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also