Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Portable class library - SSL certificate ignore support.

$
0
0

Hi,

We are developing mobile based project targeting to windows and ios platform. 

1. Project has portable class library that is been shared among all this platforms.

2. We have asp.net web api services for data provider hosted on server with http and https (ssL) enabled. 

3. We are successfully able to call web api methods using System.Net.HttpClient in portable class library and data is provided by the utility helper methods to all platforms. 

4. Now based on the specific requirement we have to utilized https enabled service and we have to switch to ssl enabled call. 

5. Based on my research over internet "ServicePointManager.ServerCertificateValidationCallback" is one we can use in .net native framework libraries but not available for portable libraries. 

If anyone can help in this area that how can we make https call from portable class library.

Thanks in Advance,

Brajesh patel



Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>