62,243
社区成员




string url = @"https://webshipping2.dhl.com/wsi/SessionManagementServlet?moduleKey=Login&ActionIdKey=2&usersCurrentDate=2013-7-17&rememberMyLanguageFlag=N&rememberMyLoginFlag=N";
System.Net.WebClient WebClientObj = new System.Net.WebClient();
System.Collections.Specialized.NameValueCollection PostVars = new System.Collections.Specialized.NameValueCollection();
string sRemoteInfo = "";
try
{
byte[] byRemoteInfo = WebClientObj.UploadValues(url, "POST", PostVars);
sRemoteInfo = System.Text.Encoding.Default.GetString(byRemoteInfo);
}
catch (Exception)
{
//throw e;
}