HaemmerElectronics.SeppPenner.WindowsHello 1.1.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package HaemmerElectronics.SeppPenner.WindowsHello --version 1.1.2                
NuGet\Install-Package HaemmerElectronics.SeppPenner.WindowsHello -Version 1.1.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="HaemmerElectronics.SeppPenner.WindowsHello" Version="1.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HaemmerElectronics.SeppPenner.WindowsHello --version 1.1.2                
#r "nuget: HaemmerElectronics.SeppPenner.WindowsHello, 1.1.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 HaemmerElectronics.SeppPenner.WindowsHello as a Cake Addin
#addin nuget:?package=HaemmerElectronics.SeppPenner.WindowsHello&version=1.1.2

// Install HaemmerElectronics.SeppPenner.WindowsHello as a Cake Tool
#tool nuget:?package=HaemmerElectronics.SeppPenner.WindowsHello&version=1.1.2                

WindowsHello

WindowsHello is an assembly/ library to work with Microsoft's Windows Hello in aplications.

Build status GitHub issues GitHub forks GitHub stars License: MIT Nuget NuGet Downloads Known Vulnerabilities Gitter

Available for

  • Net 6.0
  • Net 7.0
  • Net 8.0

Net Framework latest and LTS versions

Basic usage (Version 1.0.4.0 and above)

public void WindowsHelloTest()
{
    var handle = new IntPtr();
    var data = new byte[] { 0x32, 0x32 };
    var provider = WinHelloProvider.CreateInstance("Hello", handle);
    // Set the persistent key name if you want:
    provider.SetPersistentKeyName("Test");
    var encryptedData = provider.Encrypt(data);
    var decryptedData = provider.PromptToDecrypt(encryptedData);
}

Basic usage (Before version 1.0.4.0)

public void WindowsHelloTest()
{
    var handle = new IntPtr();
    var data = new byte[] { 0x32, 0x32 };
    IAuthProvider provider = new WinHelloProvider("Hello", handle);
    var encryptedData = provider.Encrypt(data);
    var decryptedData = provider.PromptToDecrypt(encryptedData);
}

The project can be found on nuget.

Install

dotnet add package HaemmerElectronics.SeppPenner.WindowsHello

This project is mainly taken from https://github.com/sirAndros/KeePassWinHello.

Change history

See the Changelog.

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net7.0-windows7.0 is compatible.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0-windows7.0

    • No dependencies.
  • net7.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.3 554 5/16/2024
1.1.2 1,266 12/7/2023
1.1.1 574 11/13/2023
1.1.0 1,198 11/20/2022
1.0.12 1,324 2/18/2022
1.0.11 5,024 11/11/2021
1.0.10 1,535 8/9/2021
1.0.8 1,451 2/21/2021
1.0.7 1,340 1/1/2021
1.0.6 1,434 6/5/2020
1.0.5 1,460 5/10/2020
1.0.4 1,553 11/18/2019
1.0.3 1,728 11/8/2019 1.0.3 has at least one vulnerability with moderate severity.
1.0.2 436,371 6/23/2019 1.0.2 has at least one vulnerability with moderate severity.
1.0.0.1 1,782 5/5/2019 1.0.0.1 has at least one vulnerability with moderate severity.
1.0.0 1,844 2/9/2019 1.0.0 has at least one vulnerability with moderate severity.

Version 1.1.2.0 (2023-12-07): Updated NuGet packages, added support for Net8, fixed AuthProviderSystemErrorException, fixes https://github.com/SeppPenner/WindowsHello/issues/6.