Get client certificate in asp.net c# browser application using server side coding
<p>Problem to get client certificate in ASP.NET browser application. Main problem is that we need to get the client certificate from the client machine in browser application.</p>

<p>I use this code to do that</p>

<pre><code>X509Certificate2 certificate = new 
                         X509Certificate2(Page.Request.ClientCertificate.Certificate);
</code></pre>

<p>But it didn’t get the client certificate.</p>

<p>I have the server code that get the certificate from server but I need the client certificate.</p>

<p>Server code: </p>

<pre><code>X509Store store = new X509Store("My");
var cer = Request.ClientCertificate;

store.Open(OpenFlags.ReadOnly);
var certificates = store.Certificates;
</code></pre>
