How to Query an NTP Server using C#?

前端 未结 6 2056
一生所求
一生所求 2020-11-22 03:09

All I need is a way to query an NTP Server using C# to get the Date Time of the NTP Server returned as either a string or as a DateTime.

H

6条回答
  •  野的像风
    2020-11-22 04:09

    The .NET Micro Framework Toolkit found in the CodePlex has an NTPClient. I have never used it myself but it looks good.

    There is also another example located here.

提交回复
热议问题