百度天气服务的获取代码:WebClientwc=newWebClient();wc.Encoding=Encoding.UTF8;stringxml=wc.DownloadString("http://api.map.baidu.com/telematics/v3/weather?location="+City+"&output=xml&ak=F902fe2561302ba131f98de992753ec1");