I have a long-running GUI application that outputs various statuses to the user. The user wants to view every status but doesn't want to worry about the screensaver kicking in after the inactivity settings.
Preferably in C#, how do I read the screensaver/power scheme settings (so I can reapply them when my app exits) and use settings appropriate for my app (basically disabling them)?
EDIT: I'm going to run my own tests on these answers before I mark either as a solution. If someone has had success with either, please vote it up so I try it first.