C# windows to C# phone windows
问题 This is more a task to ask than help but... after 1 day of tries I can't get it work. This is my code private string _InetReadEx(string sUrl) { HttpWebRequest webReq = (HttpWebRequest)HttpWebRequest.Create(sUrl); try { webReq.CookieContainer = new CookieContainer(); webReq.Method = "GET"; using (WebResponse response = webReq.GetResponse()) { using (Stream stream = response.GetResponseStream()) { StreamReader reader = new StreamReader(stream); aRet = reader.ReadToEnd(); return aRet; } } }