private void getValue(string webURL) {
//Prepare the web page we will be asking for
WebClient client = new
WebClient();
client.Headers.Add("user-agent",
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2)");
Stream
data = client.OpenRead(webURL);
StreamReader reader = new
StreamReader(data);
string s = reader.ReadToEnd();
}
No comments:
Post a Comment