this code insert the registry value
Microsoft.Win32.RegistryKey key;
key = Microsoft.Win32.Registry.LocalMachine.CreateSubKey("SOFTWARE\\Microsoft\\Internet Explorer\\MAIN\\FeatureControl\\FEATURE_BROWSER_EMULATION");
key.SetValue("MyBrowser.exe", 8000);
textBox1.Text = key.GetValue("MyBrowser.exe").ToString();
key.Close();
in windows 32 bit work, but in 64 bit is inserted to wow6432node how to disable the redirect?
You need to open the key using RegistryView.Registry64. You specify this in the OpenBaseKey method so you'll need to rejig your code a little.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With