if (Request.Browser.Type.Contains("IE")) { try { RegistryKey ChangeSettings = Registry.CurrentUser.OpenSubKey(@"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3", true); ChangeSettings.SetValue("1609", "0", RegistryValueKind.DWord); ChangeSettings = Registry.CurrentUser.OpenSubKey(@"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2", true); ChangeSettings.SetValue("1609", "0", RegistryValueKind.DWord); ChangeSettings.Close(); } catch (Exception ex) { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)