昨天 问你的问题找到解决方法了 分享一下
try { HttpWebResponse response = (HttpWebResponse)prtcl.Request.EndGetResponse(prtcl.AsyncResult); } catch (WebException ex) { HttpWebResponse response = (HttpWebResponse)ex.Response; }
WebException 这个很关键 嘻嘻
try { HttpWebResponse response = (HttpWebResponse)prtcl.Request.EndGetResponse(prtcl.AsyncResult); } catch (WebException ex) { HttpWebResponse response = (HttpWebResponse)ex.Response; }
WebException 这个很关键 嘻嘻