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) { }
}
Comments
Post a Comment