Skip to content

Does discovery work at all? #10

@Salazander

Description

@Salazander

I am currently trying to create wrappers around multiple mDNS-SD implementations. Using DeviceInformation.CreateWatcher seems to be the UWP-native way of discovering devices. So I tried adapting DnssdParticipant for my purposes.

The issue I am facing: After calling StartListeningAsync, the watcher's Added and Updated-event never get triggered.

I modified _aqsQueryString in order to discover all services in our network, not only the service type that was defined for the sample game. I went as far as only specifying:

private string _aqsQueryString = $"System.Devices.AepService.ProtocolId:={PROTOCOL_GUID}";

where

private const string PROTOCOL_GUID = "{4526e8c1-8aac-4153-9b16-55e86ada0e54}";

I tried adding additional quotation marks around the GUID, but to no avail.

Either I am doing something completely wrong or something is broken with the functionality surrounding mDNS-SD. Can anybody confirm that the corresponding UWP-APIs should be working fine with following OS/IDE versions?
Win 10 1803 17134.765
VS2019 16.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions