Class SystemMemoryUsage

Definition

Namespace:
Tizen.System
Assembly:
Tizen.System.Information.dll

The class for system memory information.

C#
Copy
public class SystemMemoryUsage
Inheritance
object
SystemMemoryUsage

Constructors

View Source

SystemMemoryUsage()

The constructor of MemoryInformation class.

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

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

Properties

View Source

Cache

Cache memory (KiB).

Declaration
C#
Copy
public int Cache { get; }
Property Value
Type Description
int
View Source

Free

Free memory (KiB).

Declaration
C#
Copy
public int Free { get; }
Property Value
Type Description
int
View Source

Swap

Swap memory (KiB).

Declaration
C#
Copy
public int Swap { get; }
Property Value
Type Description
int
View Source

Total

Total memory (KiB).

Declaration
C#
Copy
public int Total { get; }
Property Value
Type Description
int
View Source

Used

Used memory (KiB).

Declaration
C#
Copy
public int Used { get; }
Property Value
Type Description
int

Methods

View Source

Update()

Update the system memory information to the latest.

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

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