摘要:
using (DirectoryEntry comp = new DirectoryEntry("WinNT://" + Environment.MachineName + ",computer")) { int AccountCount = 0; foreach (Direct... 阅读全文
摘要:
//开启服务、开启防火墙 public void OpenFileWall() { // 1. 判断当前系统为XP或Win7 RegistryKey rk = Registry.LocalMachine.OpenSubKey(@"Software\\Microsoft\\Windows NT\\Current... 阅读全文