In the webbrowser I can normally load the following url:
https://security.ultimatxxxx.com:443/Serverstatus.ashx
When I do it with:
Webclient.DownloadStringAsync("https://security.ultimatxxxx.com:443/Serverstatus.ashx");
For testing purposes you can call: ultimate-eur
instead of ultimatxxxx
.
It does not work, but when I load a normal URL without https I have no problems. Which argument do I have to add so that the Webclient can also download the string?
I want to use that feature in Monotouch, but language is C#.
If you just wish to accept all certificates, you'll need to set certificate check, before you make your request:
This will accept all certificates.
Although - if you need to actually check the certificate do something like:
One possible reason might be the fact that some website provide different result to different browser.
You can try to provide the browser information to pretend that the call is from a browser.
Or