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.

DeviceStatus.DeviceHardwareVersion Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the hardware version running on the device.

Namespace:  Microsoft.Phone.Info
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public static string DeviceHardwareVersion { get; }

Property Value

Type: System.String
Returns String.

This property does not return the OS version, which can be retrieved using System.Environment. We recommend that the value be a string that can be parsed as a System.Version structure and that it be incremented in a logical manner as newer hardware is released, but this is not required. This value may be empty.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show: