简体   繁体   中英

How to use iOS proxy settings with web services 2.0 (System.Net.IWebProxy) in Monotouch?

I'm consuming a Webservice 2.0 via SOAP.

My service has a Proxy property of type System.Net.IWebProxy . I would like to use the proxy settings that are configured on the iOS device I'm running on.

Simple question: how? :-)

See my answer here for: In Mono on OSX how do I get access to the current proxy?

I have not tried it myself but it should be identical to what MonoMac is using.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM