Discovering Windows 10 Devices Over Wi-Fi: DNS-SD API

Play Discovering Windows 10 Devices Over Wi-Fi: DNS-SD API
Sign in to queue

Description

Nowadays, you’re connected to a Wi-Fi network wherever you go – at homes, coffee shops, malls, hotels, even on air-planes! Have you ever wondered who else is connected to all these networks? With Windows 10’s DNS Service Discovery (DNS-SD) API, you can create apps that discover other devices over the same network. In this session, we’ll take a look at how the DNS-SD API can be used for creating multi-user applications without needing to setup a web server or any other complex systems; all you need is for all devices to be on the same network! Speaker: Jay Mahendru

Day:

0

Session Type:

Pre-recorded

Code:

3-79

Embed

Download

Download this episode

The Discussion

  • User profile image
    Paul Betts

    * finallyyyyyyyyyyyy added Bonjour to Windows. Hoping `hostname.local` just works out of the box!

  • User profile image
    Serg

    Could you post a link to the sample from this video?

  • User profile image
    senloe

    Is there any documentation on this specifically related to DNS SD beyond the generic docs on the Devices.Enumeration namespace? There are a lot of "magic" values in this demo and it makes it virtually impossible to debug this non-working sample.

    I've checked and double checked my code, attempting this sample with a service name of _ipp._tcp, but I receive no hits on the Watcher Added event despite having > 15 ipp enabled printers on my network.

    Really happy this has more of a framework FINALLY, but it looks like it has a long way to go.

  • User profile image
    senloe

    I see there are new Dnssd classes available in Win 10 that weren't used in this demo. How do these classes work with or replace what was used here?

    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.networking.servicediscovery.dnssd.aspx

  • User profile image
    Vinicius Fonseca

    Didn't get how is this any different from DLNA. Shouldn't MS be focusing on improving compatibility with existing devices (WMP's implementation of DLNA, for instance, is highly incompatible with another devices) instead of reinventing the wheel?

  • User profile image
    DNor

    @Vinicius Fonseca:DNS-SD will greatly improve compatibility with Mac and Linux devices.

  • User profile image
    Jan Bajana

    Where could I find any documentation and sample code how to do an announcement to network with Windows Dnssd? Not only browsing.

    The link "aka.ms/dnssdapi" doesn't work.

    Also how can I find import library for dll and link with standard console application?
    There is missing any documentation. Reference API doesn't help so much here.

Add Your 2 Cents