[C#] How can i shutdown a PC
Hi and happy new year everybody :)
I would like to be able to shutdown (and reboot) and computer running Windows XP.
I've found something about the ExitWindowsEx API but it doesn't seems to work.
Anyone have an idea ?
Thanks