This project provides example code for how to use CredMarshalCredential and CredUnmarshalCredential to manage
a CERT_CREDENTIAL_INFO data blob on a PSCredential object. This logic is the same logic used by the
Get-Credential PowerShell cmdlet.
For a detailed walkthrough, see this blog post.
This project also contains some example PowerShell code for how to read smartcards and generate PSCredential objects, and how to detect and process a PSCredential object that uses a smartcard.
See the PowerShell folder for more details.
This project welcomes contributions and suggestions.