【发布时间】:2011-02-18 07:29:05
【问题描述】:
有没有办法在不使用 kernel32.dll 的情况下在 C#.NET 中设置系统时间?
我在 64 位系统上,调用设置时间函数似乎为我返回“false”。
【问题讨论】:
-
您的问题不正确。应该是
When I try set the system time using p/invoke XXXX I get an error saying YYY, how do I correct the method call?寻求解决方法是错误的方法。 -
你在提升吗?那必须到位...... - 搞砸时间是一项特权操作
标签: .net pinvoke kernel32 systemtime