Share via


DeviceInformation class (Handheld 8)

2/18/2014

[Microsoft.Embedded.Devices.Enumeration may be altered or unavailable for releases after Windows Embedded 8 Handheld. Use Windows.Devices.Enumeration instead.]

This class represents a device and allows access to well-known device properties, as well as additional properties specified during device enumeration.

Syntax

public sealed class DeviceInformation : Object
Public NotInheritable Class DeviceInformation
    Inherits Object
public ref class DeviceInformation sealed : Object

Members

The DeviceInformation class has these types of members:

  • Methods
  • Properties

The following tables list the methods and properties that belong to this class.

Methods

The DeviceInformation class has this method. It also inherits methods from the Object class.

Method Description

FindAll

This method enumerates all DeviceInformation objects.

Properties

The DeviceInformation class has these properties.

Property Access type Description

Id

Read-only

This property returns a string representing the identity of the device.

Name

Read-only

This property indicates the name of the device.

Remarks

Successful completion of FindAll results in a DeviceInformationCollection containing DeviceInformation objects.

The Name property should only be used for display purposes and not for finding a device because the name can change due to localization or a user assigning a name.

See Also

Concepts

Microsoft.Embedded.Devices.Enumeration namespace