Reputation: 312
Does anyone know if it is possible to collect system information using the new Windows RT Api (windows store app).
I am looking for information like the amount of RAM available, OS Version, Screen Size. I am porting some older C# desktop code but everything I was using is no longer available.
Upvotes: 2
Views: 1221
Reputation: 3493
I found that link; http://msdn.microsoft.com/en-us/library/windows/apps/windows.system.profile.hardwareidentification.aspx
But it seems currently winRT lib has not any func. to detect ram etc.
You can use C++ or C# to take these kind of information with using native (unmanagement) calls. Take a look at here; http://www.pinvoke.net/default.aspx/Structures/MEMORY_BASIC_INFORMATION.html
and here; http://www.codeproject.com/Articles/23502/Display-device-memory-information-using-P-Invoke
And good luck...
Upvotes: 1