AnalyticsVersionInfo.DeviceFamily Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a string that represents the type of device the application is running on.
public:
property Platform::String ^ DeviceFamily { Platform::String ^ get(); };
winrt::hstring DeviceFamily();
public string DeviceFamily { get; }
var string = analyticsVersionInfo.deviceFamily;
Public ReadOnly Property DeviceFamily As String
Property Value
The device family.
Remarks
The values of this property may change over time as new device families are introduced. You should not use this property to make runtime decisions; it is intended for analytics use only. For example, you could prioritize marketing activities based on data showing which device family the majority of your customers use.
The following values are currently defined:
| Value | Device family |
|---|---|
Windows.Desktop |
Desktop PCs and tablets |
Windows.Holographic |
Mixed-reality headsets (HoloLens) |
Windows.IoT |
IoT devices |
Windows.Mobile |
Mobile devices (deprecated) |
Windows.Team |
Surface Hub |
Windows.Universal |
Universal (all devices) |
Windows.Xbox |
Xbox consoles |
For more information about device families, see Device families overview.