WindowsHello is an assembly/ library to work with [Microsoft's Windows Hello](https://support.microsoft.com/de-de/help/17215/windows-10-what-is-hello) in aplications.
$ dotnet add package HaemmerElectronics.SeppPenner.WindowsHelloWindowsHello is an assembly/ library to work with Microsoft's Windows Hello in aplications.
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> <!-- ALL-CONTRIBUTORS-BADGE:END --> <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/danergo"><img src="https://avatars.githubusercontent.com/u/11708344?v=4?s=100" width="100px;" alt="danergo"/><br /><sub><b>danergo</b></sub></a><br /><a href="https://github.com/SeppPenner/WindowsHello/commits?author=danergo" title="Tests">⚠️</a></td> <td align="center" valign="top" width="14.28%"><a href="https://franzhuber23.blogspot.de/"><img src="https://avatars.githubusercontent.com/u/9639361?v=4?s=100" width="100px;" alt="HansM"/><br /><sub><b>HansM</b></sub></a><br /><a href="https://github.com/SeppPenner/WindowsHello/commits?author=SeppPenner" title="Code">💻</a> <a href="https://github.com/SeppPenner/WindowsHello/commits?author=SeppPenner" title="Documentation">📖</a> <a href="#example-SeppPenner" title="Examples">💡</a> <a href="#maintenance-SeppPenner" title="Maintenance">🚧</a> <a href="#projectManagement-SeppPenner" title="Project Management">📆</a> <a href="https://github.com/SeppPenner/WindowsHello/commits?author=SeppPenner" title="Tests">⚠️</a></td> </tr> </tbody> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->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):
This project follows the all-contributors specification. Contributions of any kind welcome!