Click here to Skip to main content
15,911,039 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to enable/disable enhanced protected mode in IE .

Internet Option-Advanced Tab-Security-Enable Enhanced Protected Mode.
Posted
Comments
F-ES Sitecore 30-Nov-15 7:05am    
Google "change ie settings programmatically"

1 solution

You can warn the user about the situation by following code.

C#
private bool IsEPMEnabled() 
{ 
    using (RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Internet Explorer\Main", false)) 
    { 
        if (key != null) 
            return ((string)key.GetValue("Isolation", String.Empty) == "PMEM");  
    } 
 
    return false; 
} 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900