A Windows Desktop WPF code sample that uses Azure AD B2C for sign-up, sign-in, and profile management
There's a newer version of this sample. Check it out:
WPF application signing in users with Azure Active Directory B2C and calling an API
If you really need to access this sample, you can navigate to the master branch, but please know that it's no longer maintained.