DeviceStatus.DeviceTotalMemory Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns the physical RAM size of the device in bytes.
Namespace: Microsoft.Phone.Info
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Shared ReadOnly Property DeviceTotalMemory As Long
public static long DeviceTotalMemory { get; }
Property Value
Type: System..::.Int64
Returns Int64.
Remarks
The value returned is less than the actual amount of device memory, but can be used to help determine memory consumption requirements.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone
See Also
Reference
Microsoft.Phone.Info Namespace