Xamarin Native (ios-Android) NSUrlSessionHandler and AndroidClientHandler SSL Pinning

Burak Güner 1 Reputation point
2021-02-16T08:43:46.47+00:00

Hi I am trying to implement SSL pinning on my project. I am using NSUrlSessionHandler and AndroidClientHandler as default for faster rest service calls. But I could not find a proper solution for that.

I found that blog https://thomasbandt.com/certificate-and-public-key-pinning-with-xamarin .
But as it say we can implement it with modernhttpclient But its not supporting any more.
https://github.com/anaisbetts/ModernHttpClient

I attached my project structure and settings.
Please Help me
My Best

1: /api/attachments/68557-screen-shot-2021-02-16-at-113748.png?platform=QnA [3]: /api/attachments/68525-screen-shot-2021-02-16-at-114011.png?platform=QnA

Developer technologies .NET Xamarin
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.