I'm trying to read and write to the same registry key. However I can't seem to access it. I've checked the path a million times and it's correct.
RegistryKey key = Registry.LocalMachine.OpenSubKey("HKEY_CLASSES_ROOT\\apart\\Shell\\Open\\Command");
MessageBox.Show(key.ToString());