How to detect if running on a device with 512MB RAM?

Hi guys,

I’d like to set graphics options automatically depending on how much RAM the windows phone has. Is it possible for me to use “systemMemorySize” to determine this?

If not, is there another method?

thanks,

If “systemMemorySize” is the way to go … what value does it return on a 512MB RAM device? I don’t have one for testing so I can’t trouble shoot it and the documentation doesn’t clarify.

You can test that on the emulator or just use this API:

The Emulator in Visual Studio or Unity? Is there a way to emulate 512 MB devices within Unity? If it’s the emulator within Visual Studio, I won’t be able to do it until I reformat my computer and intall Windows 8 Pro … which will be a little later as I don’t want to disrupt my workflow.

Yeah, you would have to use Visual Studio emulator.