WindowsHello is an assembly/ library to work with Microsoft's Windows Hello in aplications.
- Net 8.0
- Net 9.0
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);
}
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.
dotnet add package HaemmerElectronics.SeppPenner.WindowsHello
This project is mainly taken from https://github.com/sirAndros/KeePassWinHello.
See the Changelog.
Thanks goes to these wonderful people (emoji key):
danergo |
HansM 💻 📖 💡 🚧 📆 |
This project follows the all-contributors specification. Contributions of any kind welcome!