Class SystemMemoryUsage
Definition
- Assembly:
- Tizen.System.Information.dll
The class for system memory information.
public class SystemMemoryUsage
- Inheritance
-
objectSystemMemoryUsage
Constructors
View SourceSystemMemoryUsage()
The constructor of MemoryInformation class.
Declaration
public SystemMemoryUsage()
Exceptions
Type | Condition |
---|---|
System.IO.IOException | Thrown when an I/O error occurs while reading from the system. |
Properties
View SourceCache
Cache memory (KiB).
Declaration
public int Cache { get; }
Property Value
Type | Description |
---|---|
int |
Free
Free memory (KiB).
Declaration
public int Free { get; }
Property Value
Type | Description |
---|---|
int |
Swap
Swap memory (KiB).
Declaration
public int Swap { get; }
Property Value
Type | Description |
---|---|
int |
Total
Total memory (KiB).
Declaration
public int Total { get; }
Property Value
Type | Description |
---|---|
int |
Used
Used memory (KiB).
Declaration
public int Used { get; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceUpdate()
Update the system memory information to the latest.
Declaration
public void Update()
Exceptions
Type | Condition |
---|---|
System.IO.IOException | Thrown when I/O error occurs while reading from the system. |