From fc9bc4a45e32a2e2c54e868bfd822fdfd38e59c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E2=80=9CEditor?= Date: Thu, 21 Dec 2017 17:17:34 +0530 Subject: [PATCH] Review Network.Nsd API cs files Change-Id: I0adc17d074a939db114d1734e7605f53b9001799 --- src/Tizen.Network.Nsd/Interop/Interop.Nsd.cs | 4 +- .../Tizen.Network.Nsd/DnssdBrowser.cs | 26 ++++---- .../Tizen.Network.Nsd/DnssdService.cs | 74 +++++++++++----------- .../Tizen.Network.Nsd/INsdBrowser.cs | 16 ++--- .../Tizen.Network.Nsd/INsdService.cs | 16 ++--- .../Tizen.Network.Nsd/NsdEnumerations.cs | 10 +-- .../Tizen.Network.Nsd/NsdEventArgs.cs | 12 ++-- .../Tizen.Network.Nsd/SsdpBrowser.cs | 14 ++-- .../Tizen.Network.Nsd/SsdpService.cs | 38 +++++------ 9 files changed, 105 insertions(+), 105 deletions(-) diff --git a/src/Tizen.Network.Nsd/Interop/Interop.Nsd.cs b/src/Tizen.Network.Nsd/Interop/Interop.Nsd.cs index 5979c1d..4c78c27 100755 --- a/src/Tizen.Network.Nsd/Interop/Interop.Nsd.cs +++ b/src/Tizen.Network.Nsd/Interop/Interop.Nsd.cs @@ -19,12 +19,12 @@ using System.Runtime.InteropServices; using Tizen.Network.Nsd; /// -/// Interop class for Nsd +/// Interop class for NSD. /// internal static partial class Interop { /// - /// Nsd Native Apis + /// NSD native APIs. /// internal static partial class Nsd { diff --git a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/DnssdBrowser.cs b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/DnssdBrowser.cs index f4e6b1a..2cb74df 100755 --- a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/DnssdBrowser.cs +++ b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/DnssdBrowser.cs @@ -19,7 +19,7 @@ using System; namespace Tizen.Network.Nsd { /// - /// This class is used for managing network service discovery using DNSSD. + /// This class is used for managing the network service discovery using DNS-SD. /// /// 4 public class DnssdBrowser : INsdBrowser @@ -30,7 +30,7 @@ namespace Tizen.Network.Nsd private Interop.Nsd.Dnssd.ServiceFoundCallback _serviceFoundCallback; /// - /// This event is raised when a DNSSD service is found during service discovery. + /// This event is raised when a DNS-SD service is found during the service discovery. /// /// 4 public event EventHandler ServiceFound @@ -47,13 +47,13 @@ namespace Tizen.Network.Nsd } /// - /// A public constructor for DnssdBrowser class to create a DnssdBrowser instance for the given service type. + /// A public constructor for the DnssdBrowser class to create a DnssdBrowser instance for the given service type. /// - /// The DNSSD service type + /// The DNS-SD service type. /// 4 /// http://tizen.org/feature/network.service_discovery.dnssd - /// Thrown when serviceType is null. - /// Thrown when DNSSD is not supported. + /// Thrown when the serviceType is null. + /// Thrown when DNS-SD is not supported. public DnssdBrowser(string serviceType) { DnssdInitializer dnssdInit = Globals.s_threadDns.Value; @@ -68,18 +68,18 @@ namespace Tizen.Network.Nsd } /// - /// Starts browsing the DNSSD remote service. + /// Starts browsing the DNS-SD remote service. /// /// - /// If there are any services available, ServiceFound event will be invoked. - /// Application will keep browsing for available/unavailable services until it calls StopDiscovery(). + /// 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(). /// /// 4 /// http://tizen.org/privilege/internet /// http://tizen.org/feature/network.service_discovery.dnssd /// Thrown when any other error occurred. - /// Thrown when DNSSD is not supported. - /// Thrown when permission is denied. + /// Thrown when DNS-SD is not supported. + /// Thrown when the permission is denied. public void StartDiscovery() { DnssdInitializer dnssdInit = Globals.s_threadDns.Value; @@ -104,12 +104,12 @@ namespace Tizen.Network.Nsd } /// - /// Stops browsing the DNSSD remote service. + /// Stops browsing the DNS-SD remote service. /// /// 4 /// http://tizen.org/feature/network.service_discovery.dnssd /// Thrown when any other error occurred. - /// Thrown when DNSSD is not supported. + /// Thrown when DNS-SD is not supported. public void StopDiscovery() { int ret = Interop.Nsd.Dnssd.StopBrowsing(_browserHandle); diff --git a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/DnssdService.cs b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/DnssdService.cs index 3f3536c..1209f28 100755 --- a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/DnssdService.cs +++ b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/DnssdService.cs @@ -38,7 +38,7 @@ namespace Tizen.Network.Nsd } } /// - /// This class is used for managing local service registration and its properties using DNSSD. + /// This class is used for managing the local service registration and its properties using DNS-SD. /// /// 4 public class DnssdService : INsdService @@ -49,15 +49,15 @@ namespace Tizen.Network.Nsd private Interop.Nsd.Dnssd.ServiceRegisteredCallback _serviceRegisteredCallback; /// - /// Constructor to create DnssdService instance that sets the serviceType to a given value. + /// The constructor to create the DnssdService instance that sets the serviceType to a given value. /// /// 4 - /// The DNSSD service type. It is expressed as type followed by protocol, separated by a dot(e.g. "_ftp._tcp"). - /// It must begin with an underscore, followed by 1-15 characters which may be letters, digits or hyphens. + /// The DNS-SD service type. It is expressed as a type followed by the protocol, separated by a dot (For example, "_ftp._tcp"). + /// It must begin with an underscore followed by 1-15 characters, which may be letters, digits, or hyphens. /// /// http://tizen.org/feature/network.service_discovery.dnssd - /// Thrown while setting this property when DNSSD is not supported. - /// Thrown when serviceType is set to null. + /// Thrown while setting this property when DNS-SD is not supported. + /// Thrown when the serviceType is set to null. public DnssdService(string serviceType) { _serviceType = serviceType; @@ -82,17 +82,17 @@ namespace Tizen.Network.Nsd } /// - /// Name of DNSSD service. + /// Name of the DNS-SD service. /// /// - /// Set Name for only unregistered service created locally. + /// Set the name for only an unregistered service created locally. /// It may be up to 63 bytes. - /// In case of error, null will be returned during get and exception will be thrown during set. + /// In case of an error, null will be returned during get and exception will be thrown during set. /// /// 4 /// http://tizen.org/feature/network.service_discovery.dnssd - /// Thrown while setting this property when DNSSD is not supported. - /// Thrown when Name value is set to null. + /// Thrown while setting this property when DNS-SD is not supported. + /// Thrown when the name value is set to null. /// Thrown while setting this property when any other error occurred. public string Name { @@ -126,12 +126,12 @@ namespace Tizen.Network.Nsd } /// - /// Type of DNSSD local/remote service. + /// Type of the DNS-SD local or remote service. /// /// - /// It is expressed as type followed by protocol, separated by a dot(e.g. "_ftp._tcp"). - /// It must begin with an underscore, followed by 1-15 characters which may be letters, digits or hyphens. - /// In case of error, null will be returned. + /// It is expressed as a type followed by the protocol, separated by a dot (For example, "_ftp._tcp"). + /// It must begin with an underscore followed by 1-15 characters, which may be letters, digits, or hyphens. + /// In case of an error, null will be returned. /// /// 4 public string Type @@ -151,16 +151,16 @@ namespace Tizen.Network.Nsd } /// - /// Port number of DNSSD local/remote service. + /// Port number of the DNS-SD local or remote service. /// /// - /// Set Port for only unregistered service created locally. The default value of Port is 0. - /// In case of error, -1 will be returned during get and exception will be thrown during set. + /// Set the port for only an unregistered service created locally. The default value of the port is 0. + /// In case of an error, -1 will be returned during get and exception will be thrown during set. /// /// 4 /// http://tizen.org/feature/network.service_discovery.dnssd - /// Thrown while setting this property when DNSSD is not supported. - /// Thrown if value of Port is set to less than 0 or more than 65535. + /// Thrown while setting this property when DNS-SD is not supported. + /// Thrown if the value of port is set to less than 0 or more than 65535. /// Thrown while setting this property when any other error occurred. public int Port { @@ -194,11 +194,11 @@ namespace Tizen.Network.Nsd } /// - /// IP address of DNSSD remote service. + /// IP address of the DNS-SD remote service. /// /// /// If the remote service has no IPv4 Address, then IPv4Address would contain null and if it has no IPv6 Address, then IPv6Address would contain null. - /// In case of error, null object will be returned. + /// In case of an error, null object will be returned. /// /// 4 public IPAddressInformation IP @@ -232,14 +232,14 @@ namespace Tizen.Network.Nsd /// Adds the TXT record. /// /// - /// TXT record should be added after registering local service using RegisterService(). + /// TXT record should be added after registering the local service using RegisterService(). /// /// 4 /// The key of the TXT record. It must be a null-terminated string with 9 characters or fewer excluding null. It is case insensitive. - /// The value of the TXT record.If null, then "key" will be added with no value. If non-null but value_length is zero, then "key=" will be added with empty value. + /// The value of the TXT record. If null, then "key" will be added with no value. If non-null but the value_length is zero, then "key=" will be added with an empty value. /// http://tizen.org/feature/network.service_discovery.dnssd - /// Thrown when DNSSD is not supported. - /// Thrown when value of key is null. + /// Thrown when DNS-SD is not supported. + /// Thrown when the value of the key is null. /// Thrown when any other error occurred. public void AddTXTRecord(string key, string value) { @@ -270,8 +270,8 @@ namespace Tizen.Network.Nsd /// 4 /// The key of the TXT record to be removed. /// http://tizen.org/feature/network.service_discovery.dnssd - /// Thrown when DNSSD is not supported. - /// Thrown when value of key is null. + /// Thrown when DNS-SD is not supported. + /// Thrown when the value of the key is null. /// Thrown when any other error occurred. public void RemoveTXTRecord(string key) { @@ -297,15 +297,15 @@ namespace Tizen.Network.Nsd } /// - /// Registers the DNSSD local service for publishing. + /// Registers the DNS-SD local service for publishing. /// /// Name of the service must be set. /// 4 /// http://tizen.org/privilege/internet /// http://tizen.org/feature/network.service_discovery.dnssd /// Thrown when any other error occurred. - /// Thrown when DNSSD is not supported. - /// Thrown when permission is denied. + /// Thrown when DNS-SD is not supported. + /// Thrown when the permission is denied. public void RegisterService() { if (!Globals.s_threadDns.IsValueCreated) @@ -331,7 +331,7 @@ namespace Tizen.Network.Nsd } /// - /// Deregisters the DNSSD local service. + /// Deregisters the DNS-SD local service. /// /// /// A local service registered using RegisterService() must be passed. @@ -339,7 +339,7 @@ namespace Tizen.Network.Nsd /// 4 /// http://tizen.org/feature/network.service_discovery.dnssd /// Thrown when any other error occurred. - /// Thrown when DNSSD is not supported. + /// Thrown when DNS-SD is not supported. public void DeregisterService() { int ret = Interop.Nsd.Dnssd.DeregisterService(_serviceHandle); @@ -374,7 +374,7 @@ namespace Tizen.Network.Nsd } /// - /// Destroy the DnssdService object + /// Destroys the DnssdService object. /// ~DnssdService() { @@ -394,7 +394,7 @@ namespace Tizen.Network.Nsd } /// - /// This class manages the IP address properties of DNSSD service. + /// This class manages the IP address properties of the DNS-SD service. /// /// 4 public class IPAddressInformation @@ -411,7 +411,7 @@ namespace Tizen.Network.Nsd } /// - /// The IP version 4 address of DNSSD service. + /// The IP version 4 address of the DNS-SD service. /// /// 4 public IPAddress IPv4Address @@ -425,7 +425,7 @@ namespace Tizen.Network.Nsd } /// - /// The IP version 6 address of DNSSD service. + /// The IP version 6 address of the DNS-SD service. /// /// 4 public IPAddress IPv6Address diff --git a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/INsdBrowser.cs b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/INsdBrowser.cs index e09a20a..189a13c 100755 --- a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/INsdBrowser.cs +++ b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/INsdBrowser.cs @@ -19,35 +19,35 @@ using System; namespace Tizen.Network.Nsd { /// - /// This interface is used for managing network service discovery using DNSSD/SSDP. + /// This interface is used for managing the network service discovery using DNS-SD/SSDP. /// /// 4 public interface INsdBrowser { /// - /// Starts browsing the DNSSD/SSDP remote service. + /// Starts browsing the DNS-SD/SSDP remote service. /// /// - /// If there are any services available, ServiceFound event will be invoked. - /// Application will keep browsing for available/unavailable services until it calls StopDiscovery(). + /// 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(). /// /// 4 /// http://tizen.org/privilege/internet /// http://tizen.org/feature/network.service_discovery.dnssd /// http://tizen.org/feature/network.service_discovery.ssdp /// Thrown when any other error occured. - /// Thrown when DNSSD/SSDP is not supported. - /// Thrown when permission is denied. + /// Thrown when DNS-SD/SSDP is not supported. + /// Thrown when the permission is denied. void StartDiscovery(); /// - /// Stops browsing the DNSSD/SSDP remote service. + /// Stops browsing the DNS-SD/SSDP remote service. /// /// 4 /// http://tizen.org/feature/network.service_discovery.dnssd /// http://tizen.org/feature/network.service_discovery.ssdp /// Thrown when any other error occured. - /// Thrown when DNSSD/SSDP is not supported. + /// Thrown when DNS-SD/SSDP is not supported. void StopDiscovery(); } } diff --git a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/INsdService.cs b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/INsdService.cs index 13c933e..633f310 100755 --- a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/INsdService.cs +++ b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/INsdService.cs @@ -19,37 +19,37 @@ using System; namespace Tizen.Network.Nsd { /// - /// This interface is used for managing local service registration using DNSSD/SSDP. + /// This interface is used for managing the local service registration using DNS-SD/SSDP. /// /// 4 public interface INsdService : IDisposable { /// - /// Registers the DNSSD/SSDP local service for publishing. + /// Registers the DNS-SD/SSDP local service for publishing. /// /// - /// A service created locally must be passed. + /// A service that is created locally must be passed. /// /// 4 /// http://tizen.org/privilege/internet /// http://tizen.org/feature/network.service_discovery.dnssd /// http://tizen.org/feature/network.service_discovery.ssdp /// Thrown when any other error occurred. - /// Thrown when DNSSD/SSDP is not supported. - /// Thrown when permission is denied. + /// Thrown when DNS-SD/SSDP is not supported. + /// Thrown when the permission is denied. void RegisterService(); /// - /// Deregisters the DNSSD/SSDP local service. + /// Deregisters the DNS-SD/SSDP local service. /// /// - /// A local service registered using RegisterService() must be passed. + /// A local service that is registered using RegisterService() must be passed. /// /// 4 /// http://tizen.org/feature/network.service_discovery.dnssd /// http://tizen.org/feature/network.service_discovery.ssdp /// Thrown when any other error occurred. - /// Thrown when DNSSD/SSDP is not supported. + /// Thrown when DNS-SD/SSDP is not supported. void DeregisterService(); } } diff --git a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/NsdEnumerations.cs b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/NsdEnumerations.cs index 30f054c..a36990b 100755 --- a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/NsdEnumerations.cs +++ b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/NsdEnumerations.cs @@ -19,7 +19,7 @@ using Tizen.Internals.Errors; namespace Tizen.Network.Nsd { /// - /// Enumeration for DNS-SD service state. + /// Enumeration for the DNS-SD service states. /// /// 4 public enum DnssdServiceState @@ -35,24 +35,24 @@ namespace Tizen.Network.Nsd /// 4 Unavailable, /// - /// Lookup failure for service name. + /// Lookup failure for the service name. /// /// 4 ServiceNameLookupFailed, /// - /// Lookup failure for host name and port number. + /// Lookup failure for the host name and port number. /// /// 4 HostNameLookupFailed, /// - /// Lookup failure for IP address. + /// Lookup failure for the IP address. /// /// 4 AddressLookupFailed } /// - /// Enumeration for SSDP service state. + /// Enumeration for the SSDP service states. /// /// 4 public enum SsdpServiceState diff --git a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/NsdEventArgs.cs b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/NsdEventArgs.cs index b68edc5..9c19188 100755 --- a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/NsdEventArgs.cs +++ b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/NsdEventArgs.cs @@ -19,7 +19,7 @@ using System; namespace Tizen.Network.Nsd { /// - /// An extended EventArgs class which contains changed service state during service discovery using DNSSD. + /// An extended EventArgs class, which contains the changed service state during a service discovery using DNS-SD. /// /// 4 public class DnssdServiceFoundEventArgs : EventArgs @@ -34,7 +34,7 @@ namespace Tizen.Network.Nsd } /// - /// DNSSD service state. + /// The DNS-SD service state. /// /// 4 public DnssdServiceState State @@ -46,7 +46,7 @@ namespace Tizen.Network.Nsd } /// - /// DNSSD service instance. + /// The DNS-SD service instance. /// /// 4 public DnssdService Service @@ -59,7 +59,7 @@ namespace Tizen.Network.Nsd } /// - /// An extended EventArgs class which contains changed service state during service discovery using SSDP. + /// An extended EventArgs class, which contains the changed service state during a service discovery using SSDP. /// /// 4 public class SsdpServiceFoundEventArgs : EventArgs @@ -74,7 +74,7 @@ namespace Tizen.Network.Nsd } /// - /// SSDP service state. + /// The SSDP service state. /// /// 4 public SsdpServiceState State @@ -86,7 +86,7 @@ namespace Tizen.Network.Nsd } /// - /// SSDP service instance. + /// The SSDP service instance. /// /// 4 public SsdpService Service diff --git a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/SsdpBrowser.cs b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/SsdpBrowser.cs index 69bfd78..ba27765 100755 --- a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/SsdpBrowser.cs +++ b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/SsdpBrowser.cs @@ -19,7 +19,7 @@ using System; namespace Tizen.Network.Nsd { /// - /// This class is used for managing network service discovery using SSDP. + /// This class is used for managing the network service discovery using SSDP. /// /// 4 public class SsdpBrowser : INsdBrowser @@ -30,7 +30,7 @@ namespace Tizen.Network.Nsd private Interop.Nsd.Ssdp.ServiceFoundCallback _serviceFoundCallback; /// - /// This event is raised when service has become available or unavailable during service discovery using SSDP. + /// This event is raised when the service has become available or unavailable during a service discovery using SSDP. /// /// 4 public event EventHandler ServiceFound @@ -47,12 +47,12 @@ namespace Tizen.Network.Nsd } /// - /// A public constructor for SsdpBrowser class to create a SsdpBrowser instance for the given target. + /// A public constructor for the SsdpBrowser class to create a SsdpBrowser instance for the given target. /// /// 4 /// The target to browse for the service. /// http://tizen.org/feature/network.service_discovery.ssdp - /// Thrown when target is null. + /// Thrown when the target is null. /// Thrown when SSDP is not supported. public SsdpBrowser(string target) { @@ -71,8 +71,8 @@ namespace Tizen.Network.Nsd /// Starts browsing the SSDP remote service. /// /// - /// If there are any services available, ServiceFound event will be invoked. - /// Application will keep browsing for available/unavailable services until it calls StopDiscovery(). + /// 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(). /// /// 4 /// http://tizen.org/feature/network.service_discovery.ssdp @@ -109,7 +109,7 @@ namespace Tizen.Network.Nsd /// http://tizen.org/feature/network.service_discovery.ssdp /// Thrown when any other error occured. /// Thrown when SSDP is not supported. - /// Thrown when permission is denied. + /// Thrown when the permission is denied. public void StopDiscovery() { int ret = Interop.Nsd.Ssdp.StopBrowsing(_browserHandle); diff --git a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/SsdpService.cs b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/SsdpService.cs index 2667f71..a811531 100755 --- a/src/Tizen.Network.Nsd/Tizen.Network.Nsd/SsdpService.cs +++ b/src/Tizen.Network.Nsd/Tizen.Network.Nsd/SsdpService.cs @@ -37,7 +37,7 @@ namespace Tizen.Network.Nsd } /// - /// This class is used for managing local service registration and its properties using SSDP. + /// This class is used for managing the local service registration and its properties using SSDP. /// /// 4 public class SsdpService : INsdService @@ -47,13 +47,13 @@ namespace Tizen.Network.Nsd private Interop.Nsd.Ssdp.ServiceRegisteredCallback _serviceRegisteredCallback; /// - /// Constructor to create SsdpService instance that sets the target to a given value. + /// The constructor to create the SsdpService instance that sets the target to a given value. /// /// 4 /// The SSDP local service's target. It may be a device type or a service type. /// http://tizen.org/feature/network.service_discovery.ssdp /// Thrown while setting this property when SSDP is not supported. - /// Thrown when target is set to null. + /// Thrown when the target is set to null. public SsdpService(string target) { _target = target; @@ -78,16 +78,16 @@ namespace Tizen.Network.Nsd } /// - /// Unique Service Name of SSDP service. + /// Unique Service Name of the SSDP service. /// /// - /// Set Usn for only unregistered service created locally. If service is already registered, Usn will not be set. - /// In case of error, null will be returned during get and exception will be thrown during set. + /// Set the USN for only an unregistered service created locally. If the service is already registered, the USN will not be set. + /// In case of an error, null will be returned during get and exception will be thrown during set. /// /// 4 /// http://tizen.org/feature/network.service_discovery.ssdp /// Thrown while setting this property when SSDP is not supported. - /// Thrown when Usn value is set to null. + /// Thrown when USN value is set to null. /// Thrown while setting this property when any other error occurred. public string Usn { @@ -121,11 +121,11 @@ namespace Tizen.Network.Nsd } /// - /// Target of SSDP service. + /// Target of the SSDP service. /// /// - /// It may be a device type or a service type specified in UPnP forum (http://upnp.org). - /// In case of error, null will be returned. + /// It may be a device type or a service type specified in the UPnP forum (http://upnp.org). + /// In case of an error, null will be returned. /// /// 4 public string Target @@ -145,16 +145,16 @@ namespace Tizen.Network.Nsd } /// - /// URL of SSDP service. + /// URL of the SSDP service. /// /// - /// Set Url for only unregistered service created locally. If service is already registered, Url will not be set. - /// In case of error, null will be returned during get and exception will be thrown during set. + /// Set the URL for only an unregistered service created locally. If the service is already registered, the URL will not be set. + /// In case of an error, null will be returned during get and exception will be thrown during set. /// /// 4 /// http://tizen.org/feature/network.service_discovery.ssdp /// Thrown while setting this property when SSDP is not supported. - /// Thrown when Url value is set to null. + /// Thrown when the URL value is set to null. /// Thrown while setting this property when any other error occurred. public string Url { @@ -192,14 +192,14 @@ namespace Tizen.Network.Nsd /// /// /// A service created locally must be passed. - /// Url and Usn of the service must be set before RegisterService is called. + /// URL and USN of the service must be set before the RegisterService is called. /// /// 4 /// http://tizen.org/privilege/internet /// http://tizen.org/feature/network.service_discovery.ssdp /// Thrown when any other error occurred. - /// Thrown when SSDP is not supported. - /// Thrown when permission is denied. + /// Thrown when the SSDP is not supported. + /// Thrown when the permission is denied. public void RegisterService() { if (!Globals.s_threadSsd.IsValueCreated) @@ -228,7 +228,7 @@ namespace Tizen.Network.Nsd /// 4 /// http://tizen.org/feature/network.service_discovery.ssdp /// Thrown when any other error occurred. - /// Thrown when SSDP is not supported. + /// Thrown when the SSDP is not supported. public void DeregisterService() { int ret = Interop.Nsd.Ssdp.DeregisterService(_serviceHandle); @@ -263,7 +263,7 @@ namespace Tizen.Network.Nsd } /// - /// Destroy the SsdpService object + /// Destroys the SsdpService object. /// ~SsdpService() { -- 2.7.4