I need to get the source code from a website, which is structured in frames.
I already have a Windows Forms Application which has the WebBrowser function integrated into it.
When I do a right click and select "View Source" it opens a new text document with exactly the info I need.
I already tried webBrowser.Document
, webBrowser.DocumentText
and webBrowser.DocumentStream
, but all of these only give me other info, I don't need.
The website is not static (it's a chat) and it does not do sessions, thus I can't use Webclient.DownloadFile
.
I need to have an ongoing connection to the website for several hours without refreshing the website. I don't see a way around using the webBrowser
in Windows Forms
.
As requested, this is the website, I am talking about: http://server2.webkicks.de/stackoverflow-test/
You can just log in as a guest, by filling some username in the third textbox.