File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,21 @@ ProcessorCollection processors = ProcessorInfo.GetProcessors();
6464RamCollection 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+
7082GraphicsCollection graphics = GraphicsInfo .GetGraphicscardInfo ();
7183// Returns a collection of type **GraphicsCard** containing information such as name and driver version.
7284```
You can’t perform that action at this time.
0 commit comments