Skip to content

Commit 73a7563

Browse files
authored
Update README.md
1 parent 89981ad commit 73a7563

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,21 @@ ProcessorCollection processors = ProcessorInfo.GetProcessors();
6464
RamCollection ram = RamInfo.GetRamInfo();
6565
// Returns a collection of type **RAM** containing information for each installed ram module such as manufacturer, frequency, voltage and capacity.
6666
67-
long ram = RamInfo.GetInstalledRAMSize();
67+
long totalRam = RamInfo.GetInstalledRAMSize();
6868
// Returns a long value of the installed GB of RAM.
6969
70+
double d1 = RamInfo.GetTotalUsableRam();
71+
// Returns the total useable ram in GB.
72+
73+
double d2 = RamInfo.GetHardwareReservedRam();
74+
// Returns the harware reserved ram in MB.
75+
76+
double d3 = RamInfo.GetRamInUse();
77+
// Returns the used ram in GB.
78+
79+
double d4 = RamInfo.GetAvailableRam();
80+
// Returns the available ram.
81+
7082
GraphicsCollection graphics = GraphicsInfo.GetGraphicscardInfo();
7183
// Returns a collection of type **GraphicsCard** containing information such as name and driver version.
7284
```

0 commit comments

Comments
 (0)