Detect hardware in vb6 project

I have a provision I feel a distinct desire to detect hardware in VB6 project, ensure by needing my users to enroll. I moreover prefer to guarantee that they lack the capacity to establish on more than two machines. To do this I ought to know where to recognize a novel fittings ID number, and use that in the enrollment code.
