I meet a issue that is related to the following code , anyone know 开发者_运维百科how to fix it?
code snippet
using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
using (Stream dataStream = response.GetResponseStream())
{
StreamReader reader = new StreamReader(dataStream);
responseString = reader.ReadToEnd();
}
Look into "Aysncronous HttpWebResponse"'s
http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=582
精彩评论