Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Remotely Turn off computer monitor

Remotely Turn off computer monitor

Scheduled Pinned Locked Moved C#
csharpsysadminhelp
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    balu12345
    wrote on last edited by
    #1

    Hi all, I need to turn offpower-off) the remote computer(Machine) monitor.Can any help me on this scenario.Is it is possible to do by c#.net. Let me clearly explain me there are Server and clients... From server machine I need to turn off(power-off) the client system monitor kindly help me....

    realJSOPR D 2 Replies Last reply
    0
    • B balu12345

      Hi all, I need to turn offpower-off) the remote computer(Machine) monitor.Can any help me on this scenario.Is it is possible to do by c#.net. Let me clearly explain me there are Server and clients... From server machine I need to turn off(power-off) the client system monitor kindly help me....

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #2

      You can't power down a monitor via code. But you may be able to put the system into sleep mode or maybe turn on the screen saver. Don't ask me how to do this, I'm just providing an idea.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      G 1 Reply Last reply
      0
      • realJSOPR realJSOP

        You can't power down a monitor via code. But you may be able to put the system into sleep mode or maybe turn on the screen saver. Don't ask me how to do this, I'm just providing an idea.

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

        G Offline
        G Offline
        Giorgi Dalakishvili
        wrote on last edited by
        #3

        John Simmons / outlaw programmer wrote:

        You can't power down a monitor via code.

        Are you sure?[^] It can be done locally but perhaps not remotely.

        Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

        1 Reply Last reply
        0
        • B balu12345

          Hi all, I need to turn offpower-off) the remote computer(Machine) monitor.Can any help me on this scenario.Is it is possible to do by c#.net. Let me clearly explain me there are Server and clients... From server machine I need to turn off(power-off) the client system monitor kindly help me....

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          The code sample that is here on CP will work, but only for monitors that support it and only on the local machine. You'll have to write two applications to do this remotely. One app that runs, probably as a service, on each machine you want to control and one that sends the command to the service running on each machine.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups