Recent

Author Topic: Winapi and WMI question  (Read 2534 times)

thehidden

  • Jr. Member
  • **
  • Posts: 76
  • Freelancer
Winapi and WMI question
« on: March 11, 2021, 11:52:58 pm »
First of all thanks for all the examples of the Winapi.

Is there an option to get via Winapi on a x64 machine without administrator rights the following information:
MachineGuid
PartitionGuid (GPT and MBR)
Hard Disk physical Serial number (not the Serial Number, generated when Formating a drive)
Bios ID and Serialnumber
CPU ID and Serialnumber
Mainboard Vendor String and Serialnumber

I am writing a kind of Inventory Software for PC, Server and Notebooks.

Thank you.
I am mostly writing software for Image/Video based Process Documentation and Warehouse/Invoicing.
Other Software only if the project is interesting.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Winapi and WMI question
« Reply #1 on: March 12, 2021, 12:41:47 am »
Hi!

Have a look at tsmbios:

https://github.com/RRUZ/tsmbios


I dont know if it works without admin rights.

Winni

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1228
Re: Winapi and WMI question
« Reply #2 on: March 12, 2021, 12:51:03 am »
hello,
have a look here to use my utility unit wmiutil to use wmi on windows lazarus.
Friendly, J.P
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

thehidden

  • Jr. Member
  • **
  • Posts: 76
  • Freelancer
Re: Winapi and WMI question
« Reply #3 on: March 12, 2021, 02:49:36 am »
Thank you for your help.
I am mostly writing software for Image/Video based Process Documentation and Warehouse/Invoicing.
Other Software only if the project is interesting.

 

TinyPortal © 2005-2018