即计算机桌面不受外部的非常控制。是不是可以通过读取注册表的方式能够做到这一点,或者还有其他的方式?希望做过的朋友指点一、二。

解决方案 »

  1.   

    监视进程、线程,筛选合法的,kill其它的。
      

  2.   

    啥叫不受外界控制?  不让类似QQ的远程连接?    还是windows得远程协助?  还是?
      

  3.   


            private void button1_Click(object sender, EventArgs e)
            {
                RegistryKey connectionKey = Registry.CurrentUser.OpenSubKey(@"HK_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Terminal Server\fDenyTSConnections", true);
                if (connectionKey != null)
                {
                    connectionKey.SetValue("fDenyTSConnections", 1);
                }
            }
    为什么connectionKey 总是为null?