Assuming you already know how to access the smart card API, and you can successfully read and decode this data, the next step is to authenticate this data.
Again, you did not provide me with any information here, so I assume that you have a database against which you will need to check the data received using a smart card.
If the above value returns true, this is just a case of calling FormsAuthentication.RedirectFromLoginPage
, or if you want more granular control over Cookie authentication, you can create your own FormsAuthenticationTicket
source share