Class DiscoveredSsdpDevice
Represents a discovered device, containing basic information about the device and the location of it's full device description document. Also provides convenience methods for retrieving the device description document.
Inheritance
Inherited Members
Namespace: Rssdp
Assembly: cs.temp.dll.dll
Syntax
public sealed class DiscoveredSsdpDevice
Properties
Name | Description |
---|---|
AsAt | Sets or returns the date and time this information was received. |
CacheLifetime | Sets or returns the length of time this information is valid for (from the AsAt time). |
DescriptionLocation | Sets or returns a URL pointing to the device description document for this device. |
NotificationType | Sets or returns the type of notification, being either a uuid, device type, service type or upnp:rootdevice. |
ResponseHeaders | Returns the headers from the SSDP device response message |
Usn | Sets or returns the universal service name (USN) of the device. |
Methods
Name | Description |
---|---|
GetDeviceInfo() | Retrieves the device description document specified by the DescriptionLocation property. |
GetDeviceInfo(HttpClient) | Retrieves the device description document specified by the DescriptionLocation property using the provided |
IsExpired() | Returns true if this device information has expired, based on the current date/time, and the CacheLifetime & AsAt properties. |
ToString() | Returns the device's Usn value. |