Class SystemMemoryUsage

Definition

Namespace:
Tizen.System
Assembly:
Tizen.System.Information.dll
API Level:
4

The class for system memory information.

C#
Copy
public class SystemMemoryUsage
Inheritance
System.Object
SystemMemoryUsage

Constructors

View Source

SystemMemoryUsage()

The constructor of MemoryInformation class.

Declaration
C#
Copy
public SystemMemoryUsage()
Exceptions
Type Condition
IOException

Thrown when an I/O error occurs while reading from the system.

API Level: 4

Properties

View Source

Cache

Cache memory (KiB).

Declaration
C#
Copy
public int Cache { get; }
Property Value
Type Description
Int32
API Level: 4
View Source

Free

Free memory (KiB).

Declaration
C#
Copy
public int Free { get; }
Property Value
Type Description
Int32
API Level: 4
View Source

Swap

Swap memory (KiB).

Declaration
C#
Copy
public int Swap { get; }
Property Value
Type Description
Int32
API Level: 4
View Source

Total

Total memory (KiB).

Declaration
C#
Copy
public int Total { get; }
Property Value
Type Description
Int32
API Level: 4
View Source

Used

Used memory (KiB).

Declaration
C#
Copy
public int Used { get; }
Property Value
Type Description
Int32
API Level: 4

Methods

View Source

Update()

Update the system memory information to the latest.

Declaration
C#
Copy
public void Update()
Exceptions
Type Condition
IOException

Thrown when I/O error occurs while reading from the system.

API Level: 4