修改注册表(关闭USB自动播放)
RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Policies\Exploer", true); key.SetValue("NoDriveTypeAutoRun",181);
key.Close();
如题,我想关闭USB自动播放,从网上查了很多,总结这几句代码,但是总是出错,求高手指点一下
2010-01-28 09:29
2010-02-02 08:53