Shutdown computer using C# program

1109215 pts.
Tags:
C
Windows 7
How would I be able to shutdown my computer using a C# program? I need something simple and I'm using Windows 7.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    Almost sound like a virus request. Can you explain a business need for shutting down a computer by means of a program? It may not be wise to do as if other applications are running it may cause major issues.
    119,370 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: