Hey Jarred. That sounds exactly like my application "WhileIdle" (see here:
http://bitcointalk.org/index.php?topic=8403.0 )
except for the service part, which I have planned, but have not yet implemented. I do plan to make it a service in the coming days though.
Hey sleep. I actually ran across your WhileIdle thread and was very interested! I was planning on parsing through your code to see how you were polling for user activity. And then stealing your method!
I have been trying to use the user32.dll API to query the GetLastInputInfo. So far I have had the problem of the API always returning 0 instead of the tick from the last input. I am suspecting that it has to do with the separate desktop space that the service resides in.
I unfortunately am writing in VB and have no experience in C# so we can't really combine efforts. But if you have any advice for me I would appreciate any assistance. Likewise if you have anything you need help on let me know and I'll be glad to help if I can.