c# save contents of IE browser as html
Posted
by
herrow
on Stack Overflow
See other posts from Stack Overflow
or by herrow
Published on 2011-01-07T22:34:12Z
Indexed on
2011/01/07
22:53 UTC
Read the original article
Hit count: 134
I have an Internet Explorer window open. The title of this window will always be "test123" how do I save the source of the contents of the window as an HTML file?
Please note that the process should not be to open a URL and read the HTML into a variable. I absolutely HAVE TO do it the way I described since I need to login to a site to be able to view the HTML that I want to save.
**if it makes it easier to do this through my winform and putting a webbrowser control on it, that is fine as well.
© Stack Overflow or respective owner