Search code examples
windows-phone-7windows-phone-8windows-phone

Windows Phone: Determine Device (Make, Model etc)


Is there a way to determine the Device details in Windows Phone?

Example Answer for iOS

I'm using DeviceStatus class but it gives a cryptic Device name and Version.

DeviceStatus.DeviceManufacturer: "NOKIA"
DeviceStatus.DeviceName: "RM-821_eu_denmark_251"
Environment.OSVersion: "Microsoft Windows NT 8.0.10211.0"

Is there a better way to get the device details in user friendly way?

What I need:

DeviceStatus.DeviceManufacturer: "NOKIA"
DeviceStatus.DeviceName: "Nokia 920"
Environment.OSVersion: "Microsoft Windows Phone 8"

Any help is highly appreciated.


Solution

  • There is no official way to do this but Alan Mendelevich has created an open source (MIT Licenese) solution to resolving the device names.
    Find it at https://github.com/ailon/PhoneNameResolver

    It doesn't do the OS version, but as there are fewer of them you could do this yourself.
    All the released versions are published by Microsoft at:

    Windows Phone 7 update history
    Windows Phone 8 update history