实现效果: 禁止使用任务管理器 知识运用: registry类的setvalue方法 public static void setvalue (string keyname, string valuename, object value) 实现代码: