I tried the below code to create Registry Key. but not successfull.
Microsoft.Win32.Registry.LocalMachine.CreateSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MyKey", Microsoft.Win32.RegistryKeyPermissionCheck.ReadWriteSubTree);
Even this command is not returning any Exception. I need help on this
Thanks skharod