Shut Down in C#

Discussion in 'C#' started by Maidomax, Jan 1, 2007.

  1. Maidomax

    Maidomax New Member

    Joined:
    Jan 1, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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#.
     
  2. Essial

    Essial New Member

    Joined:
    Sep 12, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
  3. Maidomax

    Maidomax New Member

    Joined:
    Jan 1, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for the link.
     
  4. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    Really nice thread.
     
  5. Tou

    Tou New Member

    Joined:
    May 29, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Cool exactly what I've been searching for!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice