General discussion

Locked

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.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums