我需要发送和接收 get post 请求
最佳答案
您可以使用 HttpWebRequest
/HttpWebResponse
类,或者可以使用 WebClient
满足更简单的要求。 HTTP Communication and Security with Silverlight MSDN 上的主题涵盖了基础知识。
请注意,Windows Phone 7 基本上是 Silverlight 3 而不是 4,尤其是在网络功能方面。 Networking in Silverlight for Windows Phone主题也值得一读。
关于silverlight - 如何与 wp7 中的网站进行交互?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3844941/