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.
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
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());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With