A
Annette Miller
Hi All,
In my app I am using the following code to read from the response stream of
a web page.
...
do
{
bytesRead = receiveStream.Read(byteArray, 0, 256);
receiveLocal.Write(byteArray, 0, bytesRead);
} (while bytesRead > 0)
...
where receiveStream is the Response Stream from the HttpWebRequest and
receiveLocal is a memory stream. Now I'm just wondering - what is the best
way to work out the download speed per second.
Thanks in advance...
Ann
In my app I am using the following code to read from the response stream of
a web page.
...
do
{
bytesRead = receiveStream.Read(byteArray, 0, 256);
receiveLocal.Write(byteArray, 0, bytesRead);
} (while bytesRead > 0)
...
where receiveStream is the Response Stream from the HttpWebRequest and
receiveLocal is a memory stream. Now I'm just wondering - what is the best
way to work out the download speed per second.
Thanks in advance...
Ann