Click here to Skip to main content
15,889,096 members
Articles / Desktop Programming / Windows Forms

Enabling and Disabling TaskManager

Rate me:
Please Sign up or sign in to vote.
4.17/5 (3 votes)
28 Jun 2011CPOL 15K   1  
Couldn't the class RegEdit be replaced by one simple method?private void SetKey(bool enableTaskManager) { using ( var mKey = Registry.CurrentUser.CreateSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System")) {...

Views

Daily Counts

License

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


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

Comments and Discussions