Meziantou.Framework.Win32.CredentialManager 1.4.2

Install-Package Meziantou.Framework.Win32.CredentialManager -Version 1.4.2
dotnet add package Meziantou.Framework.Win32.CredentialManager --version 1.4.2
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Meziantou.Framework.Win32.CredentialManager, 1.4.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

  • .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 (2)

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

Package Downloads
Meziantou.OneDrive.Windows

Client to use the Microsoft OneDrive api

BIA.Net.Core.Infrastructure.Service

Infrastructure Service layer classes for BIA.Net Core Framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.2 3,685 7/14/2021
1.4.1 4,828 4/22/2021
1.4.0 8,802 9/24/2020
1.3.6 10,721 6/25/2020
1.3.5 15,963 12/15/2019
1.3.4 3,279 10/23/2019
1.3.3 2,800 12/17/2018
1.3.2 481 12/14/2018
1.3.1 421 12/11/2018
1.3.0 477 11/11/2018
1.2.0 432 11/11/2018
1.1.1 1,103 7/7/2018
1.1.0 809 4/11/2018
1.0.2 985 11/20/2017
1.0.1 833 9/12/2017
1.0.0 840 9/10/2017