Rebex Time

SNTP, Time and Daytime .NET library

Download 30-day free trial Buy from $99
More .NET libraries

Rebex Time samples

Windows Forms samples

Windows Forms Time

Windows Forms Time application demonstrates how to work with a time server.

Console samples (command line apps)

TimeDifference

Shows the time difference between NTP server and local machine.

TimeGetter

Demonstrates how to connect to the server, get time and NTP/SNTP server info including stratum.

TimeSimpleSync using Daytime protocol

Synchronize time between local machine and the time server in one line of code using Daytime protocol.

TimeSimpleSync using NTP/SNTP protocol

Synchronize time between local machine and the time server in one line of code using NTP/SNTP protocol.

TimeSimpleSync using Time protocol

Synchronize time between local machine and the time server in one line of code using Time protocol.

TimeSynchronize

The sample asks a time server for time difference and uses the answer to update time on the local machine.

Pocket PC and Windows CE Applications

PocketPC - SimpleSync

Synchronize time between local machine and the time server in one line of code.

PocketPC - synchronize time

The sample asks a time server for time and uses the answer to update time on the local machine.

PocketPC - TimeGetter

Connect get time and (S)NTP server info including stratum.