请教c#httpwebrequest 多线程问题
发布网友
发布时间:2024-03-08 14:15
我来回答
共1个回答
热心网友
时间:2024-04-26 03:49
问题不清楚,不好回答你
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create("http://" + Program.website + "/index.php?Interface-index-keyt-123-act-getImageUrl.html");
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
StreamReader sr = new StreamReader(response.GetResponseStream());
string jsonstr = sr.ReadToEnd().Trim();
JavaScriptSerializer j = new JavaScriptSerializer();
Items ii = new Items();