OverviewExamples
Registry.CreateKey (HKEY_LOCAL_MACHINE, "Software\\My Application");
Creates the sub key "My Application" in HKEY_LOCAL_MACHINE\Software.
Registry.CreateKey (2, "Software\\My Application");
Creates the sub key "My Application" in HKEY_CURRENT_USER\Software.
See also: Related Actions