Rebex Time

SNTP, Time and Daytime .NET library

Download 30-day free trial Buy from $99
More .NET libraries
// synchronize using SNTP protocol
Ntp.SynchronizeSystemClock("test.rebex.net");

// synchronize using Time protocol
Time.SynchronizeSystemClock("test.rebex.net");

// synchronize using Daytime protocol
Daytime.SynchronizeSystemClock("test.rebex.net");
Show me more code...
Using SNTP, Time and Daytime protocols, your application can determine the exact time from Internet time servers.

Why Rebex Time?

Get server time

Retrieve current time using SNTP, Time or Daytime protocol.

Time synchronization

Synchronize your local machine clock with a time server. It takes only one line of code - and works on Windows and Linux.

Multiple time protocols

More features

  • Specify protocol version 3 or 4 in SNTP
  • Choose between TCP or UDP in Time and Daytime
  • Get NTP server stratum
  • Access additional NTP response fields
  • More features

Licensing and support

  • Royalty free redistribution.
  • Includes 1 year support contract.
  • Includes all new versions released during 1 year.

Platforms

.NET

8, 7, 6, 5

.NET Framework

3.5 SP1, 4.0-4.8.1

.NET Core

3.1

Mono

6.0 or higher

Xamarin.iOS

13.10 or later

Xamarin.Android

10.1 or later

Learn more about supported standards and platforms.

Legacy platforms

(not included in standard product packages - see more)

 

.NET Compact Framework

3.5/3.9

.NET Framework

2.0-3.5
 

Featured samples

  • Windows Forms Time
    Windows Forms Time application demonstrates how to work with a time server.
  • TimeSynchronize
    The sample asks a time server for time difference and uses the answer to update time on the local machine.
View all 10 C# and VB.NET samples