Click here to Skip to main content
15,798,508 members
Articles / Programming Languages / C#

How to lock the PC and power off the display using C#

Rate me:
Please Sign up or sign in to vote.
4.89/5 (17 votes)
17 Oct 2011CPOL2 min read 28.8K   26  
This article presents an easy and clear way to lock your PC and power off the display using .NET (C#).


Daily Counts


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Software Developer
Romania Romania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions