[Xamarin Mac] Get installed SSL Certificates on a mac

Nsr.2211Nsr.2211 USMember ✭✭

Hello,
is there a way to get all certificates on a machine using Xamarin.Mac?
Something like C# and stores

Example in C#:
public static X509Certificate2Collection getInstalledCertificates()
{
X509Store store = new X509Store(StoreLocation.CurrentUser);
store.Open(OpenFlags.ReadOnly);
X509Certificate2Collection currentCerts = store.Certificates.Find(X509FindType.FindByTimeValid, DateTime.Now, false);
return currentCerts;
}

Answers

Sign In or Register to comment.