R
Ricardo Luceac
HI all...
I'm doing the following to get a web page:
HttpWebRequest wr =
(HttpWebRequest)WebRequest.Create("http://www.google.com");
HttpWebResponse wresp = (HttpWebResponse)wr.GetResponse();
Stream wpage = wr.GetRequestStream();
byte[] buffer = new byte[5000];
wpage.Read(buffer,0,5000);
Now, how can I transform the buffer in a string so I can do a
regex.ismatch on the string???
thx...
I'm doing the following to get a web page:
HttpWebRequest wr =
(HttpWebRequest)WebRequest.Create("http://www.google.com");
HttpWebResponse wresp = (HttpWebResponse)wr.GetResponse();
Stream wpage = wr.GetRequestStream();
byte[] buffer = new byte[5000];
wpage.Read(buffer,0,5000);
Now, how can I transform the buffer in a string so I can do a
regex.ismatch on the string???
thx...