Meziantou.Framework.Win32.CredentialManager 2.0.0

Prefix Reserved
dotnet add package Meziantou.Framework.Win32.CredentialManager --version 2.0.0
                    
NuGet\Install-Package Meziantou.Framework.Win32.CredentialManager -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meziantou.Framework.Win32.CredentialManager" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meziantou.Framework.Win32.CredentialManager" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Meziantou.Framework.Win32.CredentialManager" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meziantou.Framework.Win32.CredentialManager --version 2.0.0
                    
#r "nuget: Meziantou.Framework.Win32.CredentialManager, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Meziantou.Framework.Win32.CredentialManager@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Meziantou.Framework.Win32.CredentialManager&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Meziantou.Framework.Win32.CredentialManager&version=2.0.0
                    
Install as a Cake Tool

Meziantou.Framework.Win32.CredentialManager

// Save the credential to the credential manager
CredentialManager.WriteCredential(
    applicationName: "CredentialManagerTests",
    userName: "meziantou",
    secret: "Pa$$w0rd",
    comment: "Test",
    persistence: CredentialPersistence.LocalMachine);

// Get a credential from the credential manager
var cred = CredentialManager.ReadCredential(applicationName: "CredentialManagerTests");
Console.WriteLine(cred.UserName);
Console.WriteLine(cred.Password);

// Delete a credential from the credential manager
CredentialManager.DeleteCredential(applicationName: "CredentialManagerTests");

Additional resources

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Meziantou.Framework.Win32.CredentialManager:

Package Downloads
Nickvision.Aura

A cross-platform base for Nickvision applications

GingerCoreNET

Package Description

Meziantou.OneDrive.Windows

Client to use the Microsoft OneDrive api

dRofusClient.Windows

Windows-specific helpers and UI components for dRofus API clients, including credential management and WPF integration.

DogmaSolutions.Configuration.Win32.CredentialManager

Package Description

GitHub repositories (7)

Showing the top 7 popular GitHub repositories that depend on Meziantou.Framework.Win32.CredentialManager:

Repository Stars
duplicati/duplicati
Store securely encrypted backups in the cloud!
babalae/better-genshin-impact
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集/挖矿/锄地 | 一条龙 | 全连音游 | 自动烹饪 - UI Automation Testing Tools For Genshin Impact
PKBeam/AMWin-RP
A Discord Rich Presence client for Apple Music's native Windows app. Also supports Last.FM scrobbling.
trimble-oss/dba-dash
DBA Dash - SQL Server Monitoring Tool
erikdarlingdata/PerformanceStudio
Free, open-source SQL Server execution plan analyzer — cross-platform GUI + CLI with 30 analysis rules, missing index detection, SSMS extension. Built-in MCP server for AI-assisted plan review.
microsoft/msstore-cli
Microsoft Store CLI
Ginger-Automation/Ginger
Ginger Automation IDE
Version Downloads Last Updated
2.0.0 1,670 5/6/2026
1.7.18 6,488 4/25/2026
1.7.17 43,638 1/25/2026
1.7.16 2,065 1/18/2026
1.7.15 11,109 12/14/2025
1.7.14 4,321 12/7/2025
1.7.13 4,222 11/30/2025
1.7.12 10,315 11/23/2025
1.7.11 1,815 11/16/2025
1.7.10 2,155 11/9/2025
1.7.9 3,178 11/2/2025
1.7.8 3,572 10/26/2025
1.7.7 1,780 10/19/2025
1.7.6 22,393 9/16/2025
1.7.5 10,358 9/3/2025
1.7.4 128,820 5/25/2025
1.7.3 58,481 3/23/2025
1.7.2 16,193 3/1/2025
1.7.1 61,140 11/17/2024
1.7.0 86,645 10/24/2024
Loading failed