hi all..
can any one help me to kno whether i have received the response stream completely...
below are the code that i'm using... but i'm not able to receive data completely.. some datas are missing...
i'm not using thread here... is it the reason why i'm not able to..
can any one help me to kno whether i have received the response stream completely...
below are the code that i'm using... but i'm not able to receive data completely.. some datas are missing...
i'm not using thread here... is it the reason why i'm not able to..
Code:
HttpWebResponse response = (HttpWebResponse)oWebReq.GetResponse();
byte[] resBytes = new byte[response.ContentLength];
Stream resstream = response.GetResponseStream();
resstream.Read(resBytes,0,resBytes.Length);
response.Close();
Comment