System.Net.WebRequest wReq = System.Net.WebRequest.Create ("http://localhost:4547/Web/index.aspx"); 这里路径应该怎么写啊
System.Net.WebResponse wResp = wReq.GetResponse();
System.IO.Stream respStream = wResp.GetResponseStream();
System.IO.StreamReader reader = new System.IO.StreamReader(respStream, System.Text.Encoding.GetEncoding("UTF-8"));
return reader.ReadToEnd();
1 回答
- 1 回答
- 0 关注
- 399 浏览
添加回答
举报
0/150
提交
取消