标签:
webclient对象实现
WebClient wb = new WebClient();
System.Collections.Specialized.NameValueCollection varPost = new System.Collections.Specialized.NameValueCollection();
参数对象,对方页面接收
varPost.Add("a", a);
varPost.Add("b", b);
varPost.Add("c", c);
byte[] RemoteInfo = wb.UploadValues(requestUrl, "POST", varPost);
页面应答返回
string sRemoteValue = System.Text.Encoding.UTF8.GetString(RemoteInfo);
标签:
原文地址:http://www.cnblogs.com/Charles-xu/p/4913499.html