项目作者: WichardRiezebos

项目描述 :
Portable NuGet library/package for communicating with ntp-server(s).
高级语言: C#
项目地址: git://github.com/WichardRiezebos/ntp-client.git
创建时间: 2017-01-29T19:05:27Z
项目社区:https://github.com/WichardRiezebos/ntp-client

开源协议:MIT License

下载


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,

  1. Install-Package NtpClient

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

Getting started

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

  1. using NtpClient;
  2. var connection = new NtpConnection("pool.ntp.org");
  3. var utcNow = connection.GetUtc();