I am unable to read the chunk size of the first chunk from a webresponse stream.
What am I missing ?
Here is my code, in hexChunkSizeCount I am expecting in hex format the chunk size.
Instead I am getting the contents of the first chunk.
WebResponse response = webRequest.GetResponse();
Stream chunkedStream = response.GetResponseStream();
StreamReader sr = new StreamReader(chunkedStream);
string hexChunkSizeCount = sr.ReadLine(); }
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)