Lsa Authentication and Smart Cards |
These two samples show how the function LsaLogonUser can be called in order to use a smart card for authentication.
LsaSmartCardLogon.cpp : This one uses the undocumented KERB_SMARTCARD_CSP_INFO structure to perform an authentication of type KerbCertificateLogon which is supported starting from vista:
LsaSmartCardLogon2.cpp : This one works on Windows 2000 and above, and it uses an undocumented structure called KERB_SMARTCARD_CSP_INFO_2 to perform an authentication of type KerbSmartCardLogon : |