#region 调用请求 /// <summary> /// 调用请求 /// </summary> /// <param name="strURL">接口</param> /// <returns></returns> private Stream Invoke(string strURL) { //调用请求 System.Net.HttpWebRequest request; // 创建一个HTTP请求 request = (System.Net.HttpWebRequest)WebRequest.Create(strURL); System.Net.HttpWebResponse response; response = (System.Net.HttpWebResponse)request.GetResponse(); return response.GetResponseStream(); ;
} #endregion