Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 414
SamVisualMeta Avatar asked Jan 12 '23 21:01

SamVisualMeta


2 Answers

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

like image 130
Matt Lacey Avatar answered Jan 28 '23 19:01

Matt Lacey


Very Useful Link:how to get the devicename and the manufacturername of the windows phone device using c

 object  manufacturerObject;
            Microsoft.Phone.Info.DeviceExtendedProperties.TryGetValue("DeviceManufacturer", out manufacturerObject);
 System.Diagnostics.Debug.WriteLine("DEvice Model NO. {0}", manufacturerObject.ToString());
like image 32
Lalit kumar Avatar answered Jan 28 '23 18:01

Lalit kumar