上传者: sheds
|
上传时间: 2021-10-06 11:07:36
|
文件大小: 3KB
|
文件类型: -
非常好用的C++注册表操作类,看示例
// 使用示例:
// RegistryKey hklm = Registry.LocalMachine;
// RegistryKey aa = hklm.OpenSubKey("System\\CurrentControlSet\\Services\\Lanmanserver\\parameters", TRUE);
// int bb = aa.GetIntValue("AutoShareServer");
// aa.SetValue("AutoShareServer", 0);
//