It can be found here:

http://stackoverflow.com/questions/102567/how-to-shutdown-the-computer-from-c


Cheers,


Benj



On Feb 23, 7:11 pm, velsankar <[email protected]> wrote:
> Hi All,
>
> Any one know how to shutdown a machine without calling shutdown.exe in
> c#????
>
> I know its possible because I deleted shutdown.exe from c:/windows/
> system32 and shut down the machine from start, It works....But it will
> not work if we call shutdown.exe from c# code. So something other than
> shutdown.exe can also do the same. Anyone have idea about these????
>
> Many Thanks in Advance.
>
> with Best Regards,
> Velsankar

Reply via email to