Class SsdpService
Represents an SSDP service to be published.
Inheritance
Inherited Members
Namespace: Rssdp
Assembly: cs.temp.dll.dll
Syntax
public class SsdpService
Constructors
Name | Description |
---|---|
SsdpService() | Default constructor. |
SsdpService(String) | Deserialisation constructor. |
Properties
Name | Description |
---|---|
ControlUrl | REQUIRED. URL for control (see section 3, “Control”). MUST be relative to the URL at which the device description is located in accordance with section 5 of RFC 3986. Specified by UPnP vendor. Single URL. |
EventSubUrl | URL for eventing (see section 4, “Eventing”). MUST be relative to the URL at which the device description is located in accordance with section 5 of RFC 3986. MUST be unique within the device; any two services MUST NOT have the same URL for eventing. If the service has no evented variables, this element MUST be present but MUST be empty(i.e., |
FullServiceType | Returns the full service type string. |
ScpdUrl | REQUIRED. URL for service description. (See section 2.5, “Service description” below.) MUST be relative to the URL at which the device description is located in accordance with section 5 of RFC 3986. Specified by UPnP vendor. Single URL. |
ServiceId | Returns the full service type string. |
ServiceType | Sets or returns the service type (not including namespace, version etc) of the exposed service. Required. |
ServiceTypeNamespace | Sets or returns the namespace for the ServiceType of this service. Optional but defaults to the UPnP schema so should be changed if ServiceType is not an official UPnP service type. |
ServiceVersion | Sets or returns the version of the service type. Optional, defaults to 1. |
Uuid | Sets or returns the universally unique identifier for this service (without the uuid: prefix). Required. |
Methods
Name | Description |
---|---|
WriteServiceDescriptionXml(XmlWriter) | Writes this service to the specified |