Prevent Sleep Mode with C# RRS feed

  • Question

  • Hello Guy,

    How  can i prevent my computer  going to sleep mode  using c#  Language.? It  would be great if that happens  when an user turn his Pc to  sleep mode manually .

    Thank you

     Ghis from Mainz (Germany).

    Monday, April 13, 2015 11:32 AM

All replies

  • Hello Ghis,

    About the C# development requirement, it is recommended to post in the Visual C# forum.
    The professionals there will be glad to help you.

    Thanks for your understanding.

    Best regards,
    Fangzhou CHEN

    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Tuesday, April 14, 2015 3:02 AM