Meziantou.Framework.Win32.CredentialManager 1.4.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Meziantou.Framework.Win32.CredentialManager --version 1.4.2                
NuGet\Install-Package Meziantou.Framework.Win32.CredentialManager -Version 1.4.2                
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.4.2" />                
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.4.2                
#r "nuget: Meziantou.Framework.Win32.CredentialManager, 1.4.2"                
#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.4.2

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

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 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  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.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.

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 7,047 11/17/2024
1.7.0 10,926 10/24/2024
1.6.0 29,136 2/15/2024
1.5.0 4,513 1/13/2024
1.4.6 126 1/13/2024
1.4.5 19,194 11/15/2023
1.4.2 691,564 7/14/2021
1.4.1 19,991 4/22/2021
1.4.0 22,608 9/24/2020
1.3.6 14,814 6/25/2020
1.3.5 32,918 12/15/2019
1.3.4 5,224 10/23/2019
1.3.3 4,865 12/17/2018
1.3.2 800 12/14/2018
1.3.1 743 12/11/2018
1.3.0 835 11/11/2018
1.2.0 793 11/11/2018
1.1.1 1,559 7/7/2018
1.1.0 1,262 4/11/2018
1.0.2 1,394 11/20/2017
1.0.1 1,232 9/12/2017
1.0.0 1,341 9/10/2017