Interface ISsdpDeviceLocator
Interface for components that discover the existence of SSDP devices.
Namespace: Rssdp.Infrastructure
Assembly: cs.temp.dll.dll
Syntax
public interface ISsdpDeviceLocator
Remarks
Discovering devices includes explicit search requests as well as listening for broadcast status notifications.
Properties
| Name | Description |
|---|---|
| IsSearching | Returns a boolean indicating whether or not a search is currently active. |
| NotificationFilter | Sets or returns a string containing the filter for notifications. Notifications not matching the filter will not raise the DeviceAvailable or DeviceUnavailable events. |
Methods
| Name | Description |
|---|---|
| SearchAsync() | Aynchronously performs a search for all devices using the default search timeout, and returns an awaitable task that can be used to retrieve the results. |
| SearchAsync(String) | Performs a search for the specified search target (criteria) and default search timeout. |
| SearchAsync(String, TimeSpan) | Performs a search for the specified search target (criteria) and search timeout. |
| SearchAsync(TimeSpan) | Performs a search for all devices using the specified search timeout. |
| StartListeningForNotifications() | Starts listening for broadcast notifications of service availability. |
| StopListeningForNotifications() | Stops listening for broadcast notifications of service availability. |
Events
| Name | Description |
|---|---|
| DeviceAvailable | Event raised when a device becomes available or is found by a search request. |
| DeviceUnavailable | Event raised when a device explicitly notifies of shutdown or a device expires from the cache. |