https://github.com/sepppenner/windowshello
WindowsHello is an assembly/ library to work with Microsoft's Windows Hello in aplications.
https://github.com/sepppenner/windowshello
Last synced: about 1 year ago
JSON representation
WindowsHello is an assembly/ library to work with Microsoft's Windows Hello in aplications.
- Host: GitHub
- URL: https://github.com/sepppenner/windowshello
- Owner: SeppPenner
- License: mit
- Created: 2019-02-09T17:09:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-05T22:03:35.000Z (over 1 year ago)
- Last Synced: 2025-04-02T00:24:42.274Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 1 MB
- Stars: 16
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: License.txt
Awesome Lists containing this project
README
WindowsHello
====================================
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.
[](https://ci.appveyor.com/project/SeppPenner/windowshello)
[](https://github.com/SeppPenner/WindowsHello/issues)
[](https://github.com/SeppPenner/WindowsHello/network)
[](https://github.com/SeppPenner/WindowsHello/stargazers)
[](https://raw.githubusercontent.com/SeppPenner/WindowsHello/master/License.txt)
[](https://www.nuget.org/packages/HaemmerElectronics.SeppPenner.WindowsHello/)
[](https://www.nuget.org/packages/HaemmerElectronics.SeppPenner.WindowsHello/)
[](https://snyk.io/test/github/SeppPenner/WindowsHello)
[](https://matrix.to/#/#WindowsHello2_community:gitter.im)
[](https://franzhuber23.blogspot.de/)
[](https://patreon.com/SeppPennerOpenSourceDevelopment)
[](https://paypal.me/th070795)
[](#contributors-)
## Available for
* Net 8.0
* Net 9.0
## Net Framework latest and LTS versions
* https://dotnet.microsoft.com/download/dotnet
## Basic usage (Version 1.0.4.0 and above)
```csharp
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)
```csharp
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](https://www.nuget.org/packages/HaemmerElectronics.SeppPenner.WindowsHello/).
## Install
```bash
dotnet add package HaemmerElectronics.SeppPenner.WindowsHello
```
## Further links
This project is mainly taken from https://github.com/sirAndros/KeePassWinHello.
Change history
--------------
See the [Changelog](https://github.com/SeppPenner/WindowsHello/blob/master/Changelog.md).
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!