i have got hardware id for physic machine by CPU info
but when code run on virtual machine , result is same hardware id .
My solution by combine UUID and CPU info ,but UUID may be same .
because in virtual machines is easy change MAC address and UUID .
How do you get hardware ID ?

sorry for my English.