Share via

Unknown protocol ID returned from DeviceInformation.CreateWatcher

Anonymous
2022-06-07T17:59:24.933+00:00

My app calls DeviceInformation.CreateWatcher() with DeviceInformationKind.AssociationEndpoint. After the watcher is started it returns endpoints with System.Devices.Aep.ProtocolId
set to known protocols such as

  • UPnP {0e261de4-12f0-46e6-91ba-428607ccef64}
  • WSD {782232aa-a2f9-4993-971b-aedc551346b0}
  • DNS-SD {4526e8c1-8aac-4153-9b16-55e86ada0e54}

And this, which isn't documented anywhere -

{9f73fafd-2343-4bf9-a532-ad20e2674bea}

What protocol is that?

Developer technologies | Universal Windows Platform (UWP)

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-06-11T00:58:07.337+00:00

    I think I found it. Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Device Association Framework\InboxProviders\ contains all the protocols listed here:

    https://github.com/MicrosoftDocs/windows-uwp/blob/docs/windows-apps-src/devices-sensors/enumerate-devices-over-a-network.md#enumerating-devices-over-networked-or-wireless-protocols

    Plus several more, including IPP, that contains a protocol ID=9f73fafd-2343-4bf9-a532-ad20e2674bea. So it must mean the endpoint is an IPP printer.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.