Compartilhar via


BasicDevice class

Implements the IBasicDevice interface that represents a Digital Living Network Alliance (DLNA) device.

BasicDevice has these types of members:

  • Methods
  • Properties

Methods

The BasicDevice class has these methods.

Method Description
add_ConnectionStatusChanged

Registers an event handler for the ConnectionStatusChanged event.

remove_ConnectionStatusChanged

Unregisters an event handler for the ConnectionStatusChanged event.

 

Properties

The BasicDevice class has these properties.

Property Access type Description

CanWakeDevices

Read-only

Gets a value that indicates if the device can wake.

ConnectionStatus

Read-only

Gets an enumeration value indicating whether the device is currently on-line, off-line or sleeping but wakeable.

Description

Read-only

Gets a description of the device.

DiscoveredOnCurrentNetwork

Read-only

Gets a value that indicates if the device is on the current network.

FriendlyName

Read-only

Gets the friendly name of the device.

Icons

Read-only

Gets a vector of IDeviceIcon interfaces.

IpAddresses

Read-only

Gets a vector of IP addresses.

ManufacturerName

Read-only

Gets the manufacturer name of the device.

ManufacturerUrl

Read-only

Gets the manufacturer URL of the device.

ModelName

Read-only

Gets the model name of the device.

ModelUrl

Read-only

Gets the model URL of the device.

PhysicalAddresses

Read-only

Gets a vector of physical addresses.

PresentationUrl

Read-only

Gets the presentation URL of the device.

RemoteStreamingUrls

Read-only

Gets a vector of remote streaming URLs.

SerialNumber

Read-only

Gets the serial number of the device.

Type

Read-only

Gets an enumeration value indicating the device type of the DLNA device.

UniqueDeviceName

Read-only

Gets the unique device name (UDN) of the device.