Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,473 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i try to change the browser version and its not work
my code:
var k = 11001;
var n = System.Reflection.Assembly.GetExecutingAssembly().Location;
Registry.SetValue("Computer/HKEY_CURRENT_USER/SOFTWARE/Microsoft/Internet Explorer/Main/FeatureControl/FEATURE_BROWSER_EMULATION", n + ".exe", k);
Registry.SetValue("Computer/HKEY_CURRENT_USER/SOFTWARE/Microsoft/Internet Explorer/Main/FeatureControl/FEATURE_BROWSER_EMULATION", n + ".vshost.exe", k);
Registry.SetValue("Computer/HKEY_CURRENT_USER/SOFTWARE/Wow6432Node/Microsoft/Internet Explorer/Main/FeatureControl/FEATURE_BROWSER_EMULATION", n + ".exe", k);
Registry.SetValue("Computer/HKEY_CURRENT_USER/SOFTWARE/Wow6432Node/Microsoft/Internet Explorer/Main/FeatureControl/FEATURE_BROWSER_EMULATION", n + ".vshost.exe", k);
its say: The registry key name must begin with a valid base key name
Two things you don't need to start with computer and you are using / instead of \
Registry.SetValue("HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION", n + ".exe", k);