How to get piv card authentication and certificate information
===

I searched around there is a IIS related method (http://technet.microsoft.com/en-us/library/cc732116.aspx) but I can't get it to work. 

I need to get the piv card authenticated from a web application then return certificate to the web application. How can I do that in C#.net