The page source changes, bit the URL does not change. I am trying to get the source code of the page AFTER the user has logged into the website.
My program gets the source code, but it is the source code of the page before you log in. I am trying to get the source code AFTER logged in. How would I get the program to get this source code?
Here's the code I am using to get the source code.
public void LoadWebsiteSourceCode()
{
string inputurl = webadpageurl;
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(inputurl);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
StreamReader urlinputreader = new StreamReader(response.GetResponseStream());
string urlsourcecode = urlinputreader.ReadToEnd();
websitesourcecode = urlsourcecode;
}


Sign In
Create Account


Back to top









