AnalyticsInfo.DeviceForm Property

Gets the device form factor. For example, the app could be running on an Xbox One or an Xbox One S, and so on.

Syntax

public:
static property String^ DeviceForm {
         String^ get ();
}  

Property value

Type: String 

  A string indicating the device form factor. For example, “Xbox One” or “Xbox One S”.

Remarks

Analytics.DeviceForm always returns the real hardware the title is running on, even when running on a devkit that is emulating another console for testing. The expected use of DeviceForm is sending a string to a telemetry log in production code to help show issues specific to a console hardware type.

GetConsoleType, on the other hand, will return the emulated hardware instead of the real hardware the title is running on if the devkit is emulating another console for testing. GetConsoleType is intended to be used by a game to determine what the hardware is, so that it can scale appropriately.

Requirements

Namespace: Windows.System.Profile

Assembly: (in )

See also

Reference

GetConsoleType

AnalyticsInfo Class

Windows.System.Profile Namespace