日期:2014-05-17 浏览次数:21064 次
WebRequest request = WebRequest.Create("url"); WebResponse response = request.GetResponse(); Stream stream = response.GetResponseStream(); Encoding encoding = Encoding.Default; StreamReader reader = new StreamReader(stream, encoding); String rf = reader.ReadLine(); reader.Close();