Recently, I had to load a json to my app.
Surprisingly, I haven't found any HttpClient and VS haven't suggested any packages to use.
Nevertheless, I found WebClient which seemed to be a replace for HttpClient.
When I checked, how is it working it showed me 'Error: TrustFailure (Authentication failed, see inner exception.)'.
I found these links which resolve the same error for HttpClient:
Unfortunately, it resolves the HttpClient, but not the WebClient. Changing 'SSL/TLS Implementation' in my Advanced Android Options had no effect. As well as
WebClient client = new WebClient(new Xamarin.Android.Net.AndroidClientHandler());
gives "WebClient doesn't contain a constructor that takes 1 argument"
I'm stuck! Please, help!