Is there a way to display the Windows shutdown dialog box from c#?
I found a command that I can use with System.Diagnostic.Process.Start
taskkill /im explorer.exe
But doesnt works on Windows 8
You could use shutdown.exe instead of trying to kill explorer.:
shutdown.exe /i /t 0