Interface INsdService

Definition

Namespace:
Tizen.Network.Nsd
Assembly:
Tizen.Network.Nsd.dll

This interface is used for managing the local service registration using DNS-SD/SSDP.

C#
Copy
public interface INsdService : IDisposable

Methods

View Source

DeregisterService()

Deregisters the DNS-SD/SSDP local service.

Declaration
C#
Copy
void DeregisterService()
Remarks

A local service that is registered using RegisterService() must be passed.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when any other error occurred.

System.NotSupportedException

Thrown when DNS-SD/SSDP is not supported.

View Source

RegisterService()

Registers the DNS-SD/SSDP local service for publishing.

Declaration
C#
Copy
void RegisterService()
Remarks

A service that is created locally must be passed.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when any other error occurred.

System.NotSupportedException

Thrown when DNS-SD/SSDP is not supported.

System.UnauthorizedAccessException

Thrown when the permission is denied.