Windows.Networking.ServiceDiscovery.Dnssd Namespace

Supports the registration and discovery of services that advertise themselves using DNS Service Discovery (DNS-SD).

Classes

DnssdRegistrationResult

Encapsulates detailed information about the result of an attempt to register a service instance using DNS-SD.

DnssdServiceInstance

Encapsulates an instance of a service that uses DNS Service Discovery (DNS-SD).

DnssdServiceInstanceCollection

A collection of DNS Service Discovery (DNS-SD) service instances.

Note

DnssdServiceInstanceCollection is not supported and may be altered or unavailable in the future. Instead, use the Windows.Devices.Enumeration API.

DnssdServiceWatcher

Maintains a collection of available DNS Service Discovery (DNS-SD) service instances.

Note

DnssdServiceWatcher is not supported and may be altered or unavailable in the future. Instead, use the Windows.Devices.Enumeration API.

Enums

DnssdRegistrationStatus

Values representing the status of a DNS-SD registration attempt.

DnssdServiceWatcherStatus

Values representing the status of a DnssdServiceWatcher.

Note

DnssdServiceWatcher is not supported and may be altered or unavailable in the future. Instead, use the Windows.Devices.Enumeration API.

Remarks

Server code uses the members of this namespace to advertise services available to clients on a local network, via DNS Service Discovery (DNS-SD). Client code uses the members of this namespace to identify services being offered via DNS-SD. The actual communication between client and server takes place over sockets, using ports and protocols advertised and discovered through DNS-SD.

DNS-SD is described in RFC 6763. For context and general information about DNS, see RFC 1034.