Hey Guys,
there's a simple problem I can not solve, and neither can my friends. How do I shut down the computer in C#. I am trying to make an aplication that would shut down the computer after a countdown closing all other active applications, so that I can go to sleep, and my downloads could still go on for about an hour or two.
If possible I would also like to know how to force my computer to disconnect my dial-up connection in C#.

This article has been dead for over six months. Start a new discussion instead.