Interface ISsdpDevicePublisher
Interface for components that publish the existence of SSDP devices.
Namespace: Rssdp.Infrastructure
Assembly: cs.temp.dll.dll
Syntax
public interface ISsdpDevicePublisher
Remarks
Publishing a device includes sending notifications (alive and byebye) as well as responding to search requests when appropriate.
Properties
Devices
Returns a read only list of devices being published by this instance.
Declaration
IEnumerable<SsdpRootDevice> Devices { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<SsdpRootDevice> |
See Also
Methods
AddDevice(SsdpRootDevice)
Adds a device (and it's children) to the list of devices being published by this server, making them discoverable to SSDP clients.
Declaration
void AddDevice(SsdpRootDevice device)
Parameters
| Type | Name | Description |
|---|---|---|
| SsdpRootDevice | device | The SsdpRootDevice instance to add. |
RemoveDevice(SsdpRootDevice)
Removes a device (and it's children) from the list of devices being published by this server, making them undiscoverable.
Declaration
void RemoveDevice(SsdpRootDevice device)
Parameters
| Type | Name | Description |
|---|---|---|
| SsdpRootDevice | device | The SsdpRootDevice instance to add. |