You MUST call Close method to close the response and release the connection.
HttpWebRequest HttpWReq = (HttpWebRequest)WebRequest.Create("http://www.google.com");
HttpWebResponse HttpWResp = (HttpWebResponse)HttpWReq.GetResponse();
// Insert code that uses the response object.
HttpWResp.Close();
http://msdn2.microsoft.com/en-us/library/system.net.httpwebresponse.aspx
Android 專用版 Facebook 推出更新版 1.6.0
13 years ago