is it possible to retrieve a page's source code after using:
if so, Examples would be GREATLY appreciated... ThanksCode:browser.Navigate(new Uri(URL));
Printable View
is it possible to retrieve a page's source code after using:
if so, Examples would be GREATLY appreciated... ThanksCode:browser.Navigate(new Uri(URL));
http://en.csharp-online.net/Configur...rowser_Control
Couldn't you just use the document property to get a htmldocument object of the current webpage and convert that to a string? If you are just looking to display the source code this should work.
Would WebBrowser.DocumentText not do the trick?
http://msdn.microsoft.com/en-us/libr...=VS.80%29.aspx
Code:string html = browser.DocumentText;