DnssdServiceWatcher DnssdServiceWatcher DnssdServiceWatcher DnssdServiceWatcher DnssdServiceWatcher Class

Definition

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.

public : sealed class DnssdServiceWatcher
struct winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher
public sealed class DnssdServiceWatcher
Public NotInheritable Class DnssdServiceWatcher
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Status Status Status Status Status

Gets the current status of the DnssdServiceWatcherStatus.

Note

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

Methods

Start() Start() Start() Start() Start()

Starts an enumeration of the network for 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.

Stop() Stop() Stop() Stop() Stop()

Stops an in-progress enumeration 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.

Events

Added Added Added Added Added

Event that is triggered when a DnssdServiceWatcher has added a DNS Service Discovery (DNS-SD) instance to its collection of available service instances.

Note

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

EnumerationCompleted EnumerationCompleted EnumerationCompleted EnumerationCompleted EnumerationCompleted

Event triggered when a DnssdServiceWatcher has finished enumerating 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.

Stopped Stopped Stopped Stopped Stopped

Event triggered when an in-progress enumeration has been stopped.

Note

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