API to retrieve device information? Device Manufacturer, total memory, firmware version...
-
15. srpna 2012 11:23
I'm porting a WP7 app to WinRT (C#) and I'm struggling to find APIs which would allow me to find information about the current device. In particular, this is the information I would like to access through my app:
- Device manufacturer
- Device model
- Device firmware
- Device total memory
In WP7, we have the Microsoft.Phone.Info.DeviceStatus-class which contains all this info. Is there anything similar available from a WinRT app?
Všechny reakce
-
16. srpna 2012 1:43Moderátor
Sorry, that information is not available.
--Rob
- Označen jako odpověď Min ZhuMicrosoft Contingent Staff, Moderator 31. srpna 2012 4:29
-
22. srpna 2012 21:23Okay, so no physical core count, and no physical memory amount, and no os version, and no computer name, and no ..... The physical memory ommision from the api is going to make tuning my app for mobile devices very difficult. Right now we're faking the memory, so all Win 8 devices have 1GB.
-
8. září 2012 0:31Are there plans to introduce such APIs in the future? There are lots of reasons why one would want to have manufacturer-specific functionality, so such an API would be immensely helpful. Anything to help identify what kind of machine the app is running on would help.
-
27. listopadu 2012 13:43
Hi Mikael,
Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation deviceInfo = new Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation(); string manufacter = deviceInfo.SystemManufacturer;
Look at deviceInfo..
Mickael
- Upravený mman2606 27. listopadu 2012 13:44
- Označen jako odpověď MikaelKoskinen 19. března 2013 9:03