How to use iOS proxy settings with web services 2.0 (System.Net.IWebProxy) in Monotouch?
-
06-03-2021 - |
Question
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? :-)
La solution
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.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow