Show / Hide Table of Contents

    Interface INsdService

    Definition

    Namespace:
    Tizen.Network.Nsd
    Assembly:
    Tizen.Network.Nsd.dll
    API Level:
    4

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

    public interface INsdService : IDisposable

    Methods

    View Source

    DeregisterService()

    Deregisters the DNS-SD/SSDP local service.

    Declaration
    void DeregisterService()
    Remarks

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

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown when any other error occurred.

    NotSupportedException

    Thrown when DNS-SD/SSDP is not supported.

    API Level: 4
    Feature: http://tizen.org/feature/network.service_discovery.dnssdhttp://tizen.org/feature/network.service_discovery.ssdp
    View Source

    RegisterService()

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

    Declaration
    void RegisterService()
    Remarks

    A service that is created locally must be passed.

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown when any other error occurred.

    NotSupportedException

    Thrown when DNS-SD/SSDP is not supported.

    UnauthorizedAccessException

    Thrown when the permission is denied.

    API Level: 4
    Privilege Level: public
    Privilege: http://tizen.org/privilege/internet
    Feature: http://tizen.org/feature/network.service_discovery.dnssdhttp://tizen.org/feature/network.service_discovery.ssdp
    • View Source
    Back to top Copyright © 2016-2020 Samsung
    Generated by DocFX