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)

Syntax

Public Shared ReadOnly Property DeviceHardwareVersion As String
public static string DeviceHardwareVersion { get; }

Property Value

Type: System..::.String
Returns String.

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

DeviceStatus Class

Microsoft.Phone.Info Namespace

Other Resources

Device status for Windows Phone 8