Class MulticastDnsService
- Namespace
- Iot.Device.MulticastDns
- Assembly
- Iot.Device.MulticastDns.dll
Multicast DNS (mDNS) is a computer networking protocol that resolves hostnames to IP addresses within local networks.
public sealed class MulticastDnsService
- Inheritance
-
MulticastDnsService
Constructors
MulticastDnsService()
Initializes a new instance of the MulticastDnsService class.
public MulticastDnsService()
Methods
Dispose()
Dispose the Multicast DNS Service which causes it to stop listening.
public void Dispose()
Send(Message)
Sends a Multicast DNS message.
public void Send(Message message)
Parameters
message
MessageThe message to be sent.
Start()
Start the worker thread that will listen for Multicast packets.
public void Start()
Stop()
Stop the worker thread that is listening for Multicast packets.
public void Stop()
Events
MessageReceived
The event that is raised when a Multicast DNS message is received.
public event MulticastDnsService.MessageReceivedEventHandler MessageReceived
Event Type
StatusChanged
The event that is raised when the status of a Multicast DNS service is changed.
public event MulticastDnsService.MulticastDnsStatusChangedEventHandler StatusChanged