IBasicDevice interface

[The feature associated with this page, Windows Media Streaming API, is a legacy feature. It has been superseded by Media Casting. Media Casting has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of Windows Media Streaming API, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Encapsulates the methods and events needed to model a DLNA Device.

Members

The IBasicDevice interface inherits from IInspectable. IBasicDevice also has these types of members:

Methods

The IBasicDevice interface has these methods.

Method Description
add_ConnectionStatusChanged Registers an event handler for the ConnectionStatusChanged event.
CanWakeDevices Retrieves a value that indicates if the device can wake.
ConnectionStatus Returns an enumeration value indicating whether the device is currently on-line, off-line or sleeping but wakeable.
Description Retrieves a description of the device.
DiscoveredOnCurrentNetwork Retrieves a value that indicates if the device is on the current network.
FriendlyName Retrieves the device s friendly name.
Icons Returns a vector of IDeviceIcon interfaces.
IpAddresses Returns a vector of IP addresses.
ManufacturerName Retrieves the device s manufacturer name.
ManufacturerUrl Retrieves the device s manufacturer URL.
ModelName Retrieves the device s model name.
ModelNumber Retrieves the device s model number.
ModelUrl Retrieves the device s model URL.
PhysicalAddresses Returns a vector of physical addresses.
PresentationUrl Retrieves the device s presentation URL.
RemoteStreamingUrls Returns a vector of remote streaming URLs.
remove_ConnectionStatusChanged Unregisters an event handler for the ConnectionStatusChanged event.
SerialNumber Retrieves the device s serial number.
Type Retrieves an enumeration value indicating the device type of the DLNA device.
UniqueDeviceName Retrieves the device s unique device name (UDN).

See also

IInspectable