.Net API to get exact time for Internet Time Server

后端 未结 4 798
春和景丽
春和景丽 2021-01-06 12:19

I need to know if there is any .NET API exists to fetch the current time from Internet Time Server, so that changing the system time at the client will not affect the integr

4条回答
  •  日久生厌
    2021-01-06 12:49

    There's a third party library that should bail you out. See the NtpClient class

    For other alternatives, see the similar thread here

提交回复
热议问题