Share via


SystemMemoryUsageReport Class

Definition

Provides data about the memory usage of the system.

public ref class SystemMemoryUsageReport sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SystemMemoryUsageReport final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SystemMemoryUsageReport
Public NotInheritable Class SystemMemoryUsageReport
Inheritance
Object Platform::Object IInspectable SystemMemoryUsageReport
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Call SystemMemoryUsage.GetReport to get an instance of this class.

Properties

AvailableSizeInBytes

Gets the amount of system memory available in bytes.

CommittedSizeInBytes

Gets the amount of committed memory for the system.

TotalPhysicalSizeInBytes

Get the total amount of physical memory for the system.

Applies to