public byte[] Export(X509ContentType contentType, SafePasswordHandle password) { using (IExportPal storePal = StorePal.FromCertificate(this)) { return(storePal.Export(contentType, password)); } }
public byte[] Export(X509ContentType contentType, SafePasswordHandle password) { using (IExportPal storePal = StorePal.FromCertificate(this)) { byte[]? exported = storePal.Export(contentType, password); Debug.Assert(exported != null); return(exported); } }