更新时间:2023-11-14 12:48:52
有一种方法可以检查屏幕保护程序是否仍在运行。请参阅MSDN上的讨论:屏幕保护程序通知 [ ^ ]。 nobugz [ ^ ]答案显示如何消除SystemParametersInfo
轮询屏幕保护程序的当前状态。
谷歌搜索:C#屏幕保护程序运行
问候,- Manfred
There is a way of checking if the screensaver is still running. See the discussion on MSDN: Screen Saver notifications[^]. nobugz[^] answer shows how to pinvokeSystemParametersInfo
to poll the current status of the screensaver.
Google search: "C# screen saver running"
Regards,— Manfred