摘要: 以下从‘读’‘写’‘删除’‘判断’四个事例实现对注册表的简单操作1.读取指定名称的注册表的值private string GetRegistData(string name){string registData;RegistryKey hkml = Registry.LocalMachine;RegistryKey software = hkml.OpenSubKey("SOFTWARE",true);RegistryKey aimdir = software.OpenSubKey("XXX",true);registData = aimdir.GetV 阅读全文
posted @ 2012-07-10 09:34 DaBan 阅读(2401) 评论(0) 推荐(0) 编辑