Edit registry by using C#
Hello!
I would like to know how to edit registry by using C#, I want to add a new function for my application, that can disable/enable to press Ctrl+Alt+Del, I know that by manually to change the Value Data from 0 to 1, or from 1 to 0. But how to code it by C# to change the Value Data of DisableTaskMgr?
HKEY_Current_User\Software\Microsoft\Windows\Currentversion\Policies\System\DisableTaskMgr
Value Data: 0
Value Data: 1
Please give me reply asap. Thanks!

softairhk147 reputationPosted Jan 28, 2004, 5:04 PM EST
Tanvir HudaRank #4,089 · 366 reputationPosted Jan 28, 2004, 9:23 PM EST
intoxicate60 reputationPosted Feb 1, 2004, 4:25 AM EST
intoxicate60 reputationPosted Feb 1, 2004, 4:43 AM EST