Use Windows Hello in C# WPF application

Jeronymite 0 Reputation points

I have seen W10 apps prompt for authentication using the standard login credentials window, particularly the Windows Hello PIN.

In a Windows 10, C#, WPF, .NET Framework 4.8 application, how can this be invoked to authenticate a user for an action? I'm not using VS or NuGet, so manual steps required, please.


Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,164 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,631 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 83,106 Reputation points

    Windows Hello is mainly used in UWP :

    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)