c# WebClient MyWebClient = new WebClient();
MyWebClient.Credentials = CredentialCache.DefaultCredentials;//获取或设置用于向Internet资源的请求进行身份验证的网络凭据
Byte[] pageData = MyWebClient.DownloadData("http://kellermen.top:1015/cmd=chaxunname/message="+ drivename); //从指定网站下载数据
string recstring = Encoding.GetEncoding("GB2312").GetString(pageData);