Question How do I use Windows Hello Authentication (Windows.Security.Credentials)

Cecil

19+ years progress programming and still learning.
Windows 10:
OpenEdge 12.8.

This is my code and I want to start using the "Windows Hello" as a form of Authenticator using biometrics and or PIN code.

Code:
using Progress.Lang.*.
using Windows.Security.Credentials.*.

block-level on error undo, throw.

class ABLWindowsHello:
    
    method public void MicrosoftPassportKeyCredentials(  ):
        
        define variable IsSupported as logical no-undo.
        
        wait-for KeyCredentialManager:IsSupportedAsync() set IsSupported.
        
        if IsSupported then
            message "Windows Hello is supported"
                view-as alert-box info.
        else
            message "Windows Hello is not supported"
                view-as alert-box info.
        
        return.

    end method.

end class.


The compile Error:
1710147310063.png

I can't seem to find the Windows.Security.Credentials assembly .dlls.

Reference:
https://learn.microsoft.com/en-us/uwp/api/windows.security.credentials.keycredentialmanager?view=winrt-10240
 

Osborne

Active Member
Yes, this seems to be hidden deep as there is no indication of where it can be found. I do not know if what is posted here is any help:


Windows.Security.Credentials class avilible only in WinRT based projects type. For example in WindowsRuntimeComponent.
 

Cecil

19+ years progress programming and still learning.
Thanks for your feedback. It looks like i might have use an intermediary an SDK to do what I want to do.

Windows.Security.Credentials.UI

 

Cecil

19+ years progress programming and still learning.
I've given up trying to use the Windows Hello / Password. I don't know how to implement this into the ABL.
 
Top