Which of the following methods should you use?

You are developing a Universal Windows Platform (UWP) app.
The app must be available on Windows Phone, Windows tablet devices, and Xbox.
When the app is running on a device, you need to determine which members of a specific class you can use.
Which of the following methods should you use? as well as additional properties specified during device enumeration. objects.

You are developing a Universal Windows Platform (UWP) app.
The app must be available on Windows Phone, Windows tablet devices, and Xbox.
When the app is running on a device, you need to determine which members of a specific class you can use.
Which of the following methods should you use? as well as additional properties specified during device enumeration. objects.

A.
ApiInformation.IsPropertyPresent

B.
UserInformation.NameAccessAllowed

C.
Selector.GetIsSelectionActive

D.
AppExtensionCatalog.FindAllAsync

Explanation:
The AppExtensionCatalog class represents a device. This class allows access to well-known device properties
A Successful completion of FindAllAsync results in a DeviceInformationCollection containing DeviceInformation

https://docs.microsoft.com/en-us/uwp/api/windows.devices.enumeration.deviceinformation



Leave a Reply 0

Your email address will not be published. Required fields are marked *