Nominate our 2022 Qt Champions!

Unique Machune Id



  • how can I get my machine's unique id(eg: Processor/CPU/Hardisk/NIC)..
    I am making an application for windows..



  • There is no Qt way of doing it I know of.

    If you want to identify Windows installations you can use the Product ID (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProductId).

    If you want to identify systems you can retrieve various hardware identifiers using WMI or the native Windows SDK.


Log in to reply