This code rus without any extra work when using non-SSL sites. For SSL pages, you need to
A. suppress warnings and
B. accept the SSL cert for the user which will run the process.
If this code runs within ASP.Net you need to make sure
the site in IIS runs as a user who has done 1 and 2 above.
To suppress warnings,
1. In your web browser go to Tools.
2. Select Internet Options from the drop down menu.
3. Click on the Security tab.
4. Click on the Web content zone you use to access the Site.
5. Click Custom level.
6. Scroll down to find the heading Miscellaneous.
7. Find the sub-heading Display Mixed Content.
8. Click Enable.
9. Click OK.
10. In response to "Are you sure you want to change the security settings for this zone?" click Yes.
11. Click OK to close the Internet Options box.
This is all ok, but the next part may be a bug. The user who runs the process must be logged in for this to work. In my usage, I tried to use the exe from within ASP.Net. I ran the site in an app pool using a domain identity that had done steps A & B above. When that user was logged onto the web server IECapt worked, but the .exe hung and did not work when that user was not logged on to the web server.
Log in to post a comment.