Namespace Tizen.Network.Nsd
The Tizen.Network.Nsd namespace provides classes to manage the network service discovery protocols.
Overview
The Nsd API handles two network service discovery protocols: DNS-SD (DNS Service Discovery) and SSDP (Simple Service Discovery Protocol). They allows application to announce local services and search for remote services on a network.
Example
The following example demonstrates how to register a DNS-SD local service.
DnssdService service = new DnssdService("_http._tcp");
service.Name = "TestService";
service.Port = "1234";
service.RegisterService();
Related Features
To use DNS-SD, declare the following feature requirements in the config file: http://tizen.org/feature/network.service_discovery.dnssd
To use SSDP, declare the following feature requirements in the config file: http://tizen.org/feature/network.service_discovery.ssdp
Classes
DnssdBrowser
This class is used for managing the network service discovery using DNS-SD.
DnssdService
This class is used for managing the local service registration and its properties using DNS-SD.
DnssdServiceFoundEventArgs
An extended EventArgs class, which contains the changed service state during a service discovery using DNS-SD.
IPAddressInformation
This class manages the IP address properties of the DNS-SD service.
SsdpBrowser
This class is used for managing the network service discovery using SSDP.
SsdpService
This class is used for managing the local service registration and its properties using SSDP.
SsdpServiceFoundEventArgs
An extended EventArgs class, which contains the changed service state during a service discovery using SSDP.
Interfaces
INsdBrowser
This interface is used for managing the network service discovery using DNS-SD/SSDP.
INsdService
This interface is used for managing the local service registration using DNS-SD/SSDP.
Enums
DnssdServiceState
Enumeration for the DNS-SD service states.
SsdpServiceState
Enumeration for the SSDP service states.