Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有可以在 MonoTouch 中使用的 WebClient 对象?
您可以使用“标准”WebClient。请参阅此处的示例。有人报告说 https 在 monotouch 中存在问题,因此您可以在此处找到解决方法
MonoTouch 提供EDIT https (SSL/TLS) 支持已有几年了
显示使用 .NET API 的 http、https 以及使用 Cocoa API 的完整示例可在以下位置获得:
简短的排序故事是:只需像使用常规 .NET 一样使用 System.Net.WebRequest