我想从windows phone 8获取2个参数到php索引文件,使用get或post方法 任何解决方案?
答案 0 :(得分:1)
WebClient webClient = new WebClient();
webClient.DownloadStringCompleted += (s, e) =>
{
};
webClient.DownloadStringAsync(new Uri(String.Format("http://example.com?par1={0}&par2={1}", "param1", "param2"), UriKind.RelativeOrAbsolute));