Click here to Skip to main content
15,884,836 members
Articles / Programming Languages / C#

User32.dll - Lock the computer

Rate me:
Please Sign up or sign in to vote.
4.80/5 (19 votes)
21 Apr 2014CPOL2 min read 48.5K   733   31  
A short example how you can programmatically lock the computer using user32.dll.

Views

Daily Counts

Downloads

Weekly Counts

License

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


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

Comments and Discussions