AdysTech.CredentialManager 1.9.1

Library to store and retreive User credentials from Windows Credential Store

Install-Package AdysTech.CredentialManager -Version 1.9.1
dotnet add package AdysTech.CredentialManager --version 1.9.1
<PackageReference Include="AdysTech.CredentialManager" Version="1.9.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AdysTech.CredentialManager --version 1.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

C# wrapper around CredWrite / CredRead functions to store and retrieve from Windows Credential Store. Windows OS comes equipped with a very secure robust Credential Manager from Windows Xp onwards, and good set of APIs to interact with it.
However .Net framework did not provide any standard way to interact with this vault until Windows 10.          Need: Many web services and REST Urls use basic authentication. .Net does not have a way to generate basic auth text (username:password encoded in Base64) for the current logged in user, with their credentials. ICredential.GetCredential (uri, "Basic") does not provide a way to get current user security context either as it will expose the current password in plain text. So only way to retrieve Basic auth text is to prompt the user for the credentials and storing it, or assume some stored credentials in Windows store, and retrieving it. The library provides
         1. Prompt user for Credentials
         2. Save Credentials
         3. Retrieve saved Credentials
Based on Microsoft Peer Channel blog (WCF team) post from 2005


This package has no dependencies.

Showing the top 2 GitHub repositories that depend on AdysTech.CredentialManager:

Repository Stars
Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).
Custom launcher for Final Fantasy XIV

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
1.9.1 533 12/23/2019
1.9.0 1,250 11/9/2019
1.8.0 6,333 2/26/2019
1.7.0 12,168 9/26/2018
1.6.0 212 9/25/2018
1.5.0 225 9/10/2018
1.4.5 274 8/22/2018
1.4.0 361 7/5/2018
1.3.0 381 6/25/2018
1.2.1 500 4/19/2018