Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DeviceStatus.DeviceTotalMemory Property

Returns the physical RAM size of the device in bytes.

Namespace:  Microsoft.Phone.Info
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public static long DeviceTotalMemory { get; }

Property Value

Type: System.Int64
Returns Int64.

The value returned is less than the actual amount of device memory, but can be used to help determine memory consumption requirements.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2015 Microsoft