客户端获取url返回的值

来源:互联网 发布:在哪里注册淘宝小号 编辑:程序博客网 时间:2024/06/03 20:01
        System.Net.WebClient client = new System.Net.WebClient();//客户端对象
                string url = "http:f";
              
                client.Encoding = Encoding.UTF8;
                string responseTest = client.DownloadString(url);//下载xml响应数据
0 0