Interface INsdBrowser
Definition
- Assembly:
- Tizen.Network.Nsd.dll
This interface is used for managing the network service discovery using DNS-SD/SSDP.
public interface INsdBrowser
Methods
View SourceStartDiscovery()
Starts browsing the DNS-SD/SSDP remote service.
Declaration
void StartDiscovery()
Remarks
If there are any services available, the ServiceFound event will be invoked. The application will keep browsing for the available or unavailable services until it calls StopDiscovery().
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when any other error occured. |
System.NotSupportedException | Thrown when DNS-SD/SSDP is not supported. |
System.UnauthorizedAccessException | Thrown when the permission is denied. |
StopDiscovery()
Stops browsing the DNS-SD/SSDP remote service.
Declaration
void StopDiscovery()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when any other error occured. |
System.NotSupportedException | Thrown when DNS-SD/SSDP is not supported. |