Reading Computer Hardware

Hello All,

I need some direction, I need to read the following of a machine running our application:

Installed Memory
Mounted Disks
CPU size

This will be cross platform, I understand I may need specific code but I cant find where to search for help on the relevant code.

Cheers

if you use MBS Plugins, it’s the SystemInformationMBS module:

http://www.monkeybreadsoftware.net/module-systeminformationmbs.shtml

and some other classes.

else you can try a lot of declares…

[quote=88232:@Steven Church]Hello All,

I need some direction, I need to read the following of a machine running our application:

Installed Memory
Mounted Disks
CPU size

This will be cross platform, I understand I may need specific code but I cant find where to search for help on the relevant code.

Cheers[/quote]
On what platform ?
MacOSLib already has a pile of this implemented for OS X
WFS has a bunch for Windows

Norman, As stated… Cross platform.

Christian, thank you I will take a look at the MBS plugins,

Specifically in MacOSLib, look at the System Profiler and DiskUtil modules in the Extras.

For Windows. This might give you some informations: https://forum.xojo.com/conversation/post/30972 by using WMI

  1. http://library.wmifun.net/
  2. http://library.wmifun.net/cimv2/win32_operatingsystem.html
  3. https://forum.xojo.com/conversation/post/82122
  4. http://library.wmifun.net/cimv2/win32_mountpoint.html