Ved ikke hvordan du bruger Webbrowser, men du kan crawle en side for indhold.
Eksempel:
protected void Page_Load(object sender, EventArgs e)
{
// Create a request for the URL.
WebRequest request = WebRequest.Create(
"
http://www.hjemmeside.dk");
// If required by the server, set the credentials.
request.Credentials = CredentialCache.DefaultCredentials;
//UserAgent.
((HttpWebRequest)request).UserAgent = "I keeps crawling y'all muhaha!";
// Get the response.
WebResponse response = request.GetResponse();
// Display the status.
Console.WriteLine("Sidens response: " + ((HttpWebResponse)response).StatusDescription);
// Get the stream containing content returned by the server.
Stream dataStream = response.GetResponseStream();
// Open the stream using a StreamReader for easy access.
StreamReader reader = new StreamReader(dataStream);
// Read the content.
string responseFromServer = reader.ReadToEnd();
// Display the content.
Response.Write(responseFromServer.Substring(10013, responseFromServer.LastIndexOf(' ', 260)));
// Clean up the streams and the response.
reader.Close();
response.Close();
}