【问题标题】:Update system time and date from internet [duplicate]从互联网更新系统时间和日期[重复]
【发布时间】:2011-07-06 07:03:58
【问题描述】:

可能重复:
How to Query an NTP Server from C#

我尝试使用我的程序发送电子邮件,但如果未设置时间和日期,发送将失败。

如何在 C# 中从 Internet 更新系统时间和日期?

【问题讨论】:

    标签: c# windows time


    【解决方案1】:

    this question 的答案向您展示了如何从时间服务器检索时间。

    您确定要更新系统时间吗?也许使用电子邮件中检索到的时间就足够了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-04-11
      • 2016-04-20
      • 1970-01-01
      • 1970-01-01
      • 2013-05-17
      • 1970-01-01
      • 1970-01-01
      • 2023-03-07
      相关资源
      最近更新 更多