Windows.Networking.ServiceDiscovery.Dnssd Namespace

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

Note

Win32 DNS Service Discovery (DNS-SD) APIs are declared in the windns.h header. For example, the Win32 APIs for announcing and discovering services are DnsServiceRegister and DnsServiceBrowse.

Classes

Name Description
DnssdRegistrationResult

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

Note

Win32 DNS Service Discovery (DNS-SD) APIs are declared in the windns.h header. For example, the Win32 APIs for announcing and discovering services are DnsServiceRegister and DnsServiceBrowse.

DnssdServiceInstance

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

Note

Win32 DNS Service Discovery (DNS-SD) APIs are declared in the windns.h header. For example, the Win32 APIs for announcing and discovering services are DnsServiceRegister and DnsServiceBrowse.

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.

Note

Win32 DNS Service Discovery (DNS-SD) APIs are declared in the windns.h header. For example, the Win32 APIs for announcing and discovering services are DnsServiceRegister and DnsServiceBrowse.

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.

Note

Win32 DNS Service Discovery (DNS-SD) APIs are declared in the windns.h header. For example, the Win32 APIs for announcing and discovering services are DnsServiceRegister and DnsServiceBrowse.

Enums

Name Description
DnssdRegistrationStatus

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

Note

Win32 DNS Service Discovery (DNS-SD) APIs are declared in the windns.h header. For example, the Win32 APIs for announcing and discovering services are DnsServiceRegister and DnsServiceBrowse.

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.

Note

Win32 DNS Service Discovery (DNS-SD) APIs are declared in the