yah kita udah tau kan apa itu fungsi dari reg editor windows.. yah klo ada yang blom tau mending ngegoogle dulu dah.. nah klo udah tw mari simak code yang saya berikan @_@ kekekekek... code berikut berfungsi buat mendisable taskmanager di windot
oke gak usah basi2.. okay..@_@
using System;
using Microsoft.Win32;
Void DisableTaskManager()
{
RegistryKey regkey;
int OurValueInt = 1;
string subKey = "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System";
try
{
regkey = Registry.CurrentUser.CreateSubKey(subKey);
regkey.SetValue("DisableTaskMgr", OurValueInt);
regkey.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
}