Skip to content

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

License

Notifications You must be signed in to change notification settings

SeppPenner/WindowsHello

Repository files navigation

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 Blogger Patreon PayPal

All Contributors

Available for

  • Net 8.0
  • Net 9.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

Further links

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

Change history

See the Changelog.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

danergo
danergo

⚠️
HansM
HansM

💻 📖 💡 🚧 📆 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •