I'm trying to generate a unique hardware id for my application and I saw something simple but it's from autoit, the function is _WinAPI_UniqueHardwareID() which generate unique id base on hardware and changes every time you change/add something on your computer. My question is there a similar function in c++ or simplest way to generate similar output.
NOTE: for windows only and as I said, if there is no similar , how to do this in c++?