Am trying to write a program that will scan any windows xp installed computers for hardware names and manufacturers

Any help how to go about that?