This library provides .NET based API to deal with Windows Credentials Management API.
CredentialManagement is a free, open source library that can be utilized to help the application manage storing and retrieving of user credentials using the Windows Credential Management API.