C# Add Reg Key

email me


Microsoft.Win32.RegistryKey key;
key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Names");
//Microsoft.Win32.Registry.LocalMachine.CreateSubKey("Names");
key.SetValue("Name", "Eddie");
key.Close();

 

Screenshot