Nostalgia .Net • Windows Shutdown

Find any window and any control on the system, analyze and change it

Simple and small static WindowsShutdown class has several useful methods:

TurnOffDialog    Shows turn off dialog.
Sleep Turns computer into sleep mode.
Hibernate Turns computer into hibernate mode.
LogOff Logs off current user.
PowerOff Turns off the computer.
Reboot Restarts the computer.
Shutdown Shutdowns the computer.

All the methods except TurnOffDialog receive the force boolean parameter. When force is true, the action is executed immediately, so user can lost some unsaved documents, please be careful with this flag.

Demo project shows all the methods:

Windows Shutdown Demo

Download free trial version
Order Nostalgia .Net right now!