any idea how do following using c#?
- going
tools -> internet options -> security
- select
security
tab - click
custom level
button - in
miscellaneous
section changedisplay mixed content
enable
the "cheat" way change value
hkey_current_user\software\microsoft\windows\currentversion\internet settings\zones\0\1609 hkey_current_user\software\microsoft\windows\currentversion\internet settings\zones\1\1609 hkey_current_user\software\microsoft\windows\currentversion\internet settings\zones\2\1609 hkey_current_user\software\microsoft\windows\currentversion\internet settings\zones\3\1609 hkey_current_user\software\microsoft\windows\currentversion\internet settings\zones\4\1609
where 0-4 zone identifiers , value 0 allow, 1 prompt, , 3 block. keep in mind if code on anyone's machine own, you're find code blocked malware.
the "proper" way use apis create iinternetzonemanager , call setzoneactionpolicy adjust settings urlaction_html_mixed_content in zones want adjust.
Comments
Post a Comment