API to get the friendly name of your Windows Phone 8 device?

Is there any way to get the name of your phone? The name that you see in the properties of Windows Explorer as the name of the device?

I looked at Microsoft.Phone.Info.DeviceStatus.DeviceName , but it looks like something else. I looked at DeviceExtendedProperties , but now this is no longer recommended.

The phone asks for this name during setup. I can also see this name and change it in WinRT settings for WP8. But I do not see a way to get it by API.

(I would like this name to pass it to a web service displaying a list of devices)

+5
source share
4 answers

WP8 API . ANID2.

0

Windows.Networking.Proximity.PeerFinder.DisplayName ,

+9

I don’t think there is anything in the core API that will allow you to do this, possibly due to security issues!

+1
source

This will give you the name of the manufacturer and model. For my Nokia Lumia 930, these NOKIA RM-1045_1044 magazines are not the friendliest names, but they allow you to distinguish between devices.

var deviceInformation = new Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation();
console.log(deviceInformation.systemSku);
+1
source

All Articles