首页 > TAG信息列表 > ExecutionFlag

c#实现系统休眠

c#实现系统休眠 class SystemSleepManagement { //定义API函数 [DllImport("kernel32.dll")] static extern uint SetThreadExecutionState(ExecutionFlag flags); [Flags] enum ExecutionFlag : uint { System = 0