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