Grab the rendered source
I want to grab the rendered source programatically, exactly the one which the user can see by right cliking on the page and selecting 'view source' from the dropdown menu in IE. This i want
to do in .NET Windows or console application. In fact there are two issues: 1- I want to add a menu option to the shortcut menu (of IE) which appears when a user right-clicks on a web page in the browser window. 2- My added menu option, when clicked, will grab the rendered source of that page and later on i will use this source for some other purposes, may be i will save it in a database and will show it off-line later on. I guess we have to use windows APIs or may be there are specific namespaces for both of these purposes. Anybody who could give the elaborated solution or give better ideas/hints is welcome. I'd also appreciate if you refer me to any link(s) for this purpose.
Thanx
BaburMan
__________________
BaburMan
|