Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DeviceAccessInformation class

Applies to Windows and Windows Phone

Contains the information about access to a device.

Syntax


var deviceAccessInformation = Windows.Devices.Enumeration.DeviceAccessInformation;

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The DeviceAccessInformation class has these types of members:

Events

The DeviceAccessInformation class has these events.

EventDescription
AccessChanged Raised when access to a device has changed.

 

Methods

The DeviceAccessInformation class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
CreateFromDeviceClass Initializes a DeviceAccessInformation object based on a given DeviceClass.
CreateFromDeviceClassId Initializes a DeviceAccessInformation object based on a device class id.
CreateFromId Initializes a DeviceAccessInformation object based on a device id.

 

Properties

The DeviceAccessInformation class has these properties.

PropertyAccess typeDescription

CurrentStatus

Read-onlyThe current device access status.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Enumeration
Windows::Devices::Enumeration [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft