Windows Hello is mainly used in UWP : https://learn.microsoft.com/en-us/windows/uwp/security/microsoft-passport-login
If you use it in a classic WPF app, you get
The process has no package identity. (Exception from HRESULT: 0x80073D54)
(tested on Windows 10 22H2)
So you need to package it (Desktop Bridge or other)
I posted the link to the MS sample code I tested in WPF (with references to System.Runtime.WindowsRuntime.dll and Windows.winmd as usually to use UWP namespaces), but you must use a Package in WPF)
Thanks. Apologies I did not realise that it would detail a solution. Just assumed it was for UWP from the link. Again, thanks.