Any hints on how have a .NET app issue a shutdown/restart?
If you mean an application shutdown and restart, then
Application.Res tart() can do the job.
If you mean shutdown or restart the machine, I'm sure there's a way to
do it through System.Manageme nt, but a more direct route is the
InitiateSystemS hutdown/Ex, called via P/Invoke - http://pinvoke.net has
the right declaration.
Comment