.Net API to get exact time for Internet Time Server

后端 未结 4 824
春和景丽
春和景丽 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 13:06

    you have several options - though none built-in:

    • http://dotnet-snippets.com/dns/simple-network-time-ntp-protocol-client-SID571.aspx
    • http://www.codeproject.com/KB/IP/ntpclient.aspx
    • http://www.codeproject.com/KB/datetime/SNTPClient.aspx
    • http://www.rebex.net/time.net/ (commercial)

提交回复
热议问题