'Dynamic certificate Pinning Xamarin

I have been looking at a ways of doing dynamic certificate pinning to avoid publishing the app whenever a certificate is rotated or public key is changed.

Has anyone got any blog/github repo (ideally xamarin c#) on how to do it?

thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source