In my application I want to shutdown and then restart the system after completion of some task.
There is a Win32 API function, InitiateSystemShutdown()
for this purpose but where is this functionality encapsulated in the .net library?
System config:Win7/VS2008
update: Found the solution here.