- 授权协议: MS-PL
- 开发语言: C# Sliverlight
- 操作系统: Windows Phone/Mobile
- 软件首页: http://postclient.codeplex.com/
软件介绍
PostClient 是一个简单易用、线程安全的工具包,用于在 Windows Phone 7 平台上执行 HTTP POST 请求。
示例代码:
Dictionary<string, object> parameters = new Dictionary<string, object>();
parameters.Add("name", "Vangos");
parameters.Add("age", 23);
PostClient proxy = new PostClient(parameters);
proxy.DownloadStringCompleted += (sender, e) =>
{
if (e.Error == null)
{
//Process the result...
string data = e.Result;
}
};
proxy.DownloadStringAsync(new Uri("http://address.com/service", UriKind.Absolute));
