Meziantou.Framework.Win32.CredentialManager 1.7.1

Prefix Reserved
dotnet add package Meziantou.Framework.Win32.CredentialManager --version 1.7.1                
NuGet\Install-Package Meziantou.Framework.Win32.CredentialManager -Version 1.7.1                
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="1.7.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Meziantou.Framework.Win32.CredentialManager --version 1.7.1                
#r "nuget: Meziantou.Framework.Win32.CredentialManager, 1.7.1"                
#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.
// Install Meziantou.Framework.Win32.CredentialManager as a Cake Addin
#addin nuget:?package=Meziantou.Framework.Win32.CredentialManager&version=1.7.1

// Install Meziantou.Framework.Win32.CredentialManager as a Cake Tool
#tool nuget:?package=Meziantou.Framework.Win32.CredentialManager&version=1.7.1                

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 net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

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

BIA.Net.Core.Infrastructure.Service

Infrastructure Service layer classes for BIA.Net Core Framework

Meziantou.OneDrive.Windows

Client to use the Microsoft OneDrive api

dRofusClient.WindowsCredentials

Package Description

GitHub repositories (2)

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

Repository Stars
duplicati/duplicati
Store securely encrypted backups in the cloud!
trimble-oss/dba-dash
DBA Dash - SQL Server Monitoring Tool
Version Downloads Last updated
1.7.1 6,833 11/17/2024
1.7.0 10,600 10/24/2024
1.6.0 28,761 2/15/2024
1.5.0 4,501 1/13/2024
1.4.6 126 1/13/2024
1.4.5 19,141 11/15/2023
1.4.2 687,195 7/14/2021
1.4.1 19,968 4/22/2021
1.4.0 22,588 9/24/2020
1.3.6 14,814 6/25/2020
1.3.5 32,898 12/15/2019
1.3.4 5,214 10/23/2019
1.3.3 4,858 12/17/2018
1.3.2 798 12/14/2018
1.3.1 741 12/11/2018
1.3.0 835 11/11/2018
1.2.0 793 11/11/2018
1.1.1 1,557 7/7/2018
1.1.0 1,260 4/11/2018
1.0.2 1,390 11/20/2017
1.0.1 1,227 9/12/2017
1.0.0 1,335 9/10/2017