注册表
//创建注册表2
RegistryKey RegistryKey = Registry.LocalMachine;3
RegistryKey.CreateSubKey(@"SOFTWARE\WOW6432Node\DDSoftware");4
//设置值5
Registry.SetValue(RegistryKey+ @"\SOFTWARE\WOW6432Node\DDSoftware", "DDIMP","123");6
//读取注册表7
object AS = Registry.GetValue(RegistryKey + @"\SOFTWARE\WOW6432Node\DDSoftware", "DDIMP", "0");