Windows 10, UWP, HoloLens and PeerFinder

NB: The usual blog disclaimer for this site applies to posts around HoloLens. I am not on the HoloLens team. I have no details on HoloLens other than what is on the public web and so what I post here is just from my own experience experimenting with pieces that are publicly available and you should always check out the official developer site for the product documentation.

A very short post. I was experimenting with whether I might be able to use the PeerFinder class for an app running on HoloLens to find and connect to an instance of the same app running on another HoloLens. I didn’t spot it in the list of APIs that have limitations here so I gave it a whirl with this piece of code;


and you can see from the debugger there that running on the device seems to suggest that the SupportedDiscoveryTypes on the device is returning None so I assume that this means that the API isn’t going to work.

Naturally, let me know if you know different and I’ll update the post accordingly.

In the meantime, I’m going to look to a different mechanism via which one ‘peer’ might find another with the minimal of pre-configuration.