public static bool Contains(this CertificateStoreClient client, string owner, string thumbprint)
        {
            if (string.IsNullOrEmpty(owner))
            {
                throw new ArgumentException("value was null or empty", "owner");
            }
            if (string.IsNullOrEmpty(thumbprint))
            {
                throw new ArgumentException("value was null or empty", "thumbprint");
            }

            Certificate cert = client.GetCertificate(owner, thumbprint, CertificateExtensions.CertInfo);

            return(cert != null);
        }
 public static Certificate GetCertificate(this CertificateStoreClient client, string owner, string thumbprint)
 {
     return(client.GetCertificate(owner, thumbprint, FullCertData));
 }