locked
Windows Hello companion device with QR code RRS feed

  • Question

  • Hi,

    while watching the companion device framework presentation found on MSDN, I noticed that on the slide where it describes how PC and companion device can communicate there is an icon for a QR code. I haven't worked with Windows Hello before, but have developed Credential Providers. In credential providers, displaying my own window on the lock screen was quite complicated and messy.

    I am wondering if someone has any experience with displaying UI on the lock screen from a background task registered for a companion device. I haven't been able to find an example which does this so far online. Would I be able to do it using C# and XAML, or does it require messing with C++ calls? To simplify, would I be able to show a QR code on the lock screen from a Windows Hello companion device background task?

    Thank you.

    • Moved by Baron Bi Tuesday, July 3, 2018 8:03 AM More related to UWP
    Friday, June 8, 2018 7:31 AM

All replies

  • Hi,

    thanks for posting here.

    >>I am wondering if someone has any experience with displaying UI on the lock screen from a background task registered for a companion device. I haven't been able to find an example which does this so far online. Would I be able to do it using C# and XAML, or does it require messing with C++ calls? To simplify, would I be able to show a QR code on the lock screen from a Windows Hello companion device background task?

    There are numerous ways one can use the Windows Hello companion device framework to build a great Windows unlock experience with a companion device. For example, users could:

    • Attach their companion device to PC via USB, touch the button on the companion device, and automatically unlock their PC.
    • Carry a phone in their pocket that is already paired with PC over Bluetooth. Upon hitting the spacebar on their PC, their phone receives a notification. Approve it and the PC simply unlocks.
    • Tap their companion device to an NFC reader to quickly unlock their PC.
    • Wear a fitness band that has already authenticated the wearer. Upon approaching PC, and by performing a special gesture (like clapping), the PC unlocks.

    For more information and sample code, please refer to this document below.

    https://docs.microsoft.com/en-us/windows/uwp/security/companion-device-unlock

    Besides, this forum is about developing desktop applications, for your case, I suggest you post on UWP forum for better support.

    https://social.msdn.microsoft.com/forums/windowsapps/en-us/home?forum=wpdevelop

    Hope this could be help of you.

    Best Regards,

    Baron Bi


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, June 11, 2018 6:34 AM
  • Hi,

    thanks for posting here.

    >>I am wondering if someone has any experience with displaying UI on the lock screen from a background task registered for a companion device. I haven't been able to find an example which does this so far online. Would I be able to do it using C# and XAML, or does it require messing with C++ calls? To simplify, would I be able to show a QR code on the lock screen from a Windows Hello companion device background task?

    There are numerous ways one can use the Windows Hello companion device framework to build a great Windows unlock experience with a companion device. For example, users could:

    • Attach their companion device to PC via USB, touch the button on the companion device, and automatically unlock their PC.
    • Carry a phone in their pocket that is already paired with PC over Bluetooth. Upon hitting the spacebar on their PC, their phone receives a notification. Approve it and the PC simply unlocks.
    • Tap their companion device to an NFC reader to quickly unlock their PC.
    • Wear a fitness band that has already authenticated the wearer. Upon approaching PC, and by performing a special gesture (like clapping), the PC unlocks.

    For more information and sample code, please refer to this document below.

    https://docs.microsoft.com/en-us/windows/uwp/security/companion-device-unlock

    Besides, this forum is about developing desktop applications, for your case, I suggest you post on UWP forum for better support.

    https://social.msdn.microsoft.com/forums/windowsapps/en-us/home?forum=wpdevelop

    Hope this could be help of you.

    Best Regards,

    Baron Bi


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Thank you for replying, but the quote from the msdn page you provided doesn't really relate to my question. I will try my luck on the UWP forums, thank you for directing me, I wasn't completely sure where I should post the question when I submitted it.
    Monday, June 11, 2018 10:51 AM