How do I programmatically add a site to the Local Intranet zone?
2 answers
It turned out to be exactly the same as adding to the "trusted sites" ( fooobar.com/questions/136481 / ... ), but setting the registry value to 1, not 2.
+5
source to share
Here's a link that contains a C # project that can do this:
http://blogs.msdn.com/ie/archive/2005/01/26/361228.aspx
Here's a link to the project's source code:
http://ieblog.members.winisp.net/content/SetZoneMappingDemo.zip
+2
source to share