I am looking for code to return the ammount of time the computer has been idle, I am working on a security program for someone and I want to make it re-activate after a certain ammount of idle time. (kind of like a screen saver)

thx