I am developing apps using the enterprise certificate. I am facing the problem that when the provisioning profile expires the app doe not work. I want a mechanism where in the app informs the users to get the app signed again. My method is to get the expiration date from the provisioning profile in the application using the following code and then comparing that with the date. This can be compared with date and then popup can be shown to inform the user. I am using the following code a the following link to get the date Get the EXPIRATION date of a Provisioning Profile at Run-time? . This is in objective c code. I am trying to convert this in chsarp and get the embedded.mobileprovision. But I am getting null value in the "profilePath".
string profilePath = NSBundle.MainBundle.PathForResource("embedded", "mobileprovision");
MY QUESTION: How can I get the path and then check the provisioning profile date in Xamarin ?