如何禁用自动与互联网时间服务器同步? [英] How to Disable automatically synchronize with internet time server?

查看:374
本文介绍了如何禁用自动与互联网时间服务器同步?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如何通过代码自动禁用与Internet时间服务器(日期和时间属性-> Internet时间)的同步?
有没有可用的API函数?
有人可以给我一个吗?

请注意
Anandakumar.R

Hi,
how to disable automatically synchronize with internet time server(Date and time Properties->Internet time) through Code?
Is there any API function Available?
Can any one give me a sample code for this?

Regards
Anandakumar.R

推荐答案

也许有更好的解决方案,但是有一个选择将停止Windows Time服务.

http ://www.dotnetspider.com/resources/865-How-start-stop-windows-services-programmati.aspx


致谢,

Jeff

There may be a better solution but one option would be to stop the Windows Time service.

http://www.dotnetspider.com/resources/865-How-start-stop-windows-services-programmati.aspx


Regards,

Jeff


这篇关于如何禁用自动与互联网时间服务器同步?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆