如何检查系统是否空闲以及如何检查空闲时间?那个计算 [英] how to check the system is idle or not and how to check the idle time? that calculation

查看:194
本文介绍了如何检查系统是否空闲以及如何检查空闲时间?那个计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用c#和PHP进行一个项目,我想要编码如何计算系统的空闲时间和系统的活动时间。

解决方案

请参考这些文章,



使用C#获取用户空闲时间 [ ^ ]

http://forum.codecall.net/topic/69801-user-idle-detection/ [ ^ ]



所有最佳:)


谢谢你的回复,这行有一个错误。



[DllImport(user32.dll)]

i am doing a project using c# with PHP and i want a coding for how to calculate the idle time of the system and active time of the system.

解决方案

Pls refer these articles,

Getting the user idle time with C#[^]
http://forum.codecall.net/topic/69801-user-idle-detection/[^]

All the Best:)


hi,thank for your reply, i have a one error for this line.

[DllImport("user32.dll")]


这篇关于如何检查系统是否空闲以及如何检查空闲时间?那个计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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