In my xamarin forms app i am using HttpClient class to call the rest calls, in my rest url i am using "https" for secure connection every thing is working fine, but the problem is in server certificate is expired even through my rest call is working fine means HttpClient class is bypassing the checks which i dont want. So i want to validate the server certificate host name and expired date etc..
Quick response is highly appreciated.