Meziantou.Framework.Win32.CredentialManager 1.4.2

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 5.0 .NET Core 3.1 .NET Standard 2.0 .NET Framework 4.6.1
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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
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 (3)

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

Package Downloads
BIA.Net.Core.Infrastructure.Service

Infrastructure Service layer classes for BIA.Net Core Framework

Meziantou.OneDrive.Windows The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Client to use the Microsoft OneDrive api

Penguin.RunAs

Not Available

GitHub repositories (1)

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

Repository Stars
trimble-oss/dba-dash
DBA Dash - SQL Server Monitoring Tool
Version Downloads Last updated
1.4.2 72,401 7/14/2021
1.4.1 14,907 4/22/2021
1.4.0 15,604 9/24/2020
1.3.6 13,636 6/25/2020
1.3.5 23,735 12/15/2019
1.3.4 3,766 10/23/2019
1.3.3 3,304 12/17/2018
1.3.2 653 12/14/2018
1.3.1 606 12/11/2018
1.3.0 674 11/11/2018
1.2.0 632 11/11/2018
1.1.1 1,375 7/7/2018
1.1.0 1,059 4/11/2018
1.0.2 1,233 11/20/2017
1.0.1 1,072 9/12/2017
1.0.0 1,108 9/10/2017