Is it possible to determine through the WebBrowser class whether IE Enhanced Security Configuration is enabled?
Case: In a desktop application, rendering takes place in html. In the case of protection included in IE, running scripts on the page will result in an error:
System.Runtime.InteropServices.COMException (0x800700AA): The requested resource is in use. (Exception from HRESULT: 0x800700AA).
I would like to immediately understand that protection is turned on and give the user a message about the need to change the settings without dropping a heap of such errors.