GetPass 1.0.0

GetPass is a free, open source, cross-platform library to read passwords in console applications masking the input. It simply focus on getting the job done, with zero-dependencies and few lines of code.

Install-Package GetPass -Version 1.0.0
dotnet add package GetPass --version 1.0.0
<PackageReference Include="GetPass" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GetPass --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

GetPass

Build Status

About GetPass

GetPass is a free, open source, cross-platform library to read passwords in console applications masking the input.
It simply focus on getting the job done, with zero-dependencies and few lines of code.

It is licensed under MIT License.

If you like this project please don't forget to star it on GitHub or let me know with a tweet.

Quick Start

Install the GetPass Nuget package.

using GetPass;
var password = ConsolePasswordReader.Read();

or if you want to customize the prompt message:

var password = ConsolePasswordReader.Read("Key: ");

Example

using System;
using GetPass;

namespace Sample
{
    class Program
    {
        static void Main(string[] args)
        {
            var password = ConsolePasswordReader.Read();
            Console.Write(password);
            Console.WriteLine();
        }
    }
}

You can find the full example here.

GetPass

Build Status

About GetPass

GetPass is a free, open source, cross-platform library to read passwords in console applications masking the input.
It simply focus on getting the job done, with zero-dependencies and few lines of code.

It is licensed under MIT License.

If you like this project please don't forget to star it on GitHub or let me know with a tweet.

Quick Start

Install the GetPass Nuget package.

using GetPass;
var password = ConsolePasswordReader.Read();

or if you want to customize the prompt message:

var password = ConsolePasswordReader.Read("Key: ");

Example

using System;
using GetPass;

namespace Sample
{
    class Program
    {
        static void Main(string[] args)
        {
            var password = ConsolePasswordReader.Read();
            Console.Write(password);
            Console.WriteLine();
        }
    }
}

You can find the full example here.

Release Notes

https://github.com/alefranz/GetPass/releases

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 208 2/3/2019