In Focus

Forums - C# Corner

Forum guidelines
Syed Ather

Syed Ather

  • 1.5k
  • 33
  • 825

Want to detect either pc is in sleep mode or not

Jul 17 2017 7:21 AM
  • I am creating a website in and i want to detect my pc screen mood is on/off.
  • when the monitor screen is turn off i want to user redirect to the login page.
  • is there any way to detect monitore's screen mood or sleep mood to chcek user is active or not on the system?

thanks in advance

and sorry for poor english

Answers (1)


Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now