Re: StreamReader to slow?!?
I don't think it's the StreamReader but rather the tranfer rate/bandwidth/speed of the connection.
Re: StreamReader to slow?!?
You don't want to read documents that way, use BufferedStream instead because the ReadToEnd loads the entire stream in memory at once ( which might not work for larger WebStream, especially on client computer )
Re: StreamReader to slow?!?
Thanks 'ComputerJy', I'll try with BufferedStream and post results here.
Quote:
stanav said:
I don't think it's the StreamReader but rather the tranfer rate/bandwidth/speed of the connection.
I don't think so, I write some stuff in vb6 using xmlHttp and I get web page text in 2-3sec.
thanks j
Re: StreamReader to slow?!?
Why dont you put start and end times before and after the httpwebresponse, and then another set before and after the streamreader part, and compare the two to see what is the larger bottleneck. Is that all the code? Or are you doing more that you didn't post? Something with analyzing that data? Or are you merely displaying it...