General discussion


C++ BIOS & windows serial numbers

By balls45 ·
I would like to know what is the C++ (borland & visual ) equivalent of Visual Basic's way of getting the captioned information.

Visual Basic uses the following Win32 API to get the BIOS & Window Serial Number respectively.

1) GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf("Win32_BIOS")

2) ("winmgmts:{impersonationLevel=impersonate}").InstancesOf("Win32_OperatingSystem")

But in Borland C++, a function such as the GetSystemInfo with its paremeter LPSYSTEM_INFO does not return the captioned information nor does the GetVolumeInfo function.

So, how can I tackle this problem.

Many thanks for those who help.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums