title: Find certificate by thumbprint
body: <p>System can't find certificate by string thumbprint </p>
  
  <pre><code>       var thumbprint = "‎2E7F6E8A0124E6745C3999EE15770C0A4931F342";
          X509Certificate2 certificate = new X509Certificate2();
          X509Store store = new X509Store(StoreName.TrustedPeople, StoreLocation.CurrentUser);
          store.Open(OpenFlags.OpenExistingOnly);
          var c = store.Certificates.Find(X509FindType.FindByThumbprint, thumbprint, false).OfType&lt;X509Certificate&gt;().FirstOrDefault();
  </code></pre>
  
  <p>this core returns null. But I try this too </p>
  
  <pre><code>foreach (X509Certificate2 mCert in store.Certificates)
          {
  
             var c= store.Certificates.Find(X509FindType.FindByThumbprint, mCert.Thumbprint, false).Count;
          }
  </code></pre>
  
  <p>c is always 1 , so some problem is in characters. I copied this thumbprint value.</p>