Hi, I need an inactive time in one of my windows mobile applications I tried all those methods which I could not find.
To make it work, you coredll.dll Function will be required from
You can use the P / Invoke command to access it:
[DllImport ("coredll.dll")] static extern int GetIdleTime (); In addition, you should keep in mind that some devices do not support this functionality and return a MAXDWORD instead (see GetIdleTime () details in the blockisturn value).
Comments
Post a Comment