View Single Post
  #2 (permalink)  
Old December 4th, 2004, 12:00 PM
mordain mordain is offline
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

All I can think of is Parsing the response from a WebClient object. But I think this is out of the scope of your question.
Getting the page is easy though, parsing it is going to be the problem.

Getting the page would be something like this.

// Create a new WebClient instance.
WebClient myWebClient = new WebClient();
// Open a stream to point to the data stream coming from the Web resource.
Stream myStream = myWebClient.OpenRead(uriString);

StreamReader sr = new StreamReader(myStream);
//Parse the page here with the StreamReader

// Close the stream.
myStream.Close();
Reply With Quote