[CF 1.0 & CF 2.0] Same code, results different

  • Thread starter Thread starter kardath
  • Start date Start date
K

kardath

Hi,

I've tested the following code :

WebRequest req = WebRequest.Create(url);
req.Timeout = TIMEOUT_REPONSE;

WebResponse result = req.GetResponse();


Stream ReceiveStream = result.GetResponseStream();

Encoding encode =
System.Text.Encoding.GetEncoding("utf-8");
System.Xml.XmlTextReader lecteur = new
XmlTextReader(ReceiveStream);

With the CF 1.0 i've the good response, but i've no char in the
response with the CF 2.0...

Have you an idea?

Thanks.
 
Back
Top