/ntp-client

Portable NuGet library/package for communicating with ntp-server(s).

Primary LanguageC#MIT LicenseMIT

NtpClient

Portable NuGet library/package for communicating with ntp-server(s).

Build Build status
NuGet NuGet
Gitter Join the chat at https://gitter.im/ntp-client/Lobby

Installation

Install the NuGet package using the command below,

Install-Package NtpClient

. . . or search for NtpClient in the NuGet index.

Getting started

The code below is an example how to use the library.

using NtpClient;

var connection = new NtpConnection("pool.ntp.org");
var utcNow = connection.GetUtc();