RegistryKey key = Registry.LocalMachine.OpenSubKey("Software", true); key.CreateSubKey("Registration"); key = key.OpenSubKey("Registration", true); key.CreateSubKey("AppVersion"); key = key.OpenSubKey("AppVersion", true); key.SetValue("Registerd", "yes"); MessageBox.Show("created");
const string keyName = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Registration"; Registry.SetValue(keyName,"Registration","True") Registry.SetValue(keyName,"AppVersion","True") Registry.SetValue(keyName,"Registered","yes")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)