![]() ![]() The second snippet must work ok in any Windows system, because access the WMI properties using the name of the property directly. What's the matter with it? – Himadri' Thanks!!! the first sample code does not work in Windows xp because uses the ItemIndex property which is available since windows vista for more details check this. Can anybody explain why it is and is there a work code to do this? There is a comment in that link: And you know something about my second comment? That I check the same code in some other computer which returns 'none'. OS Windows 7: The Option 2 (Windows XP) - returns nothing: no errors, no the serial number. The Option 1 (Microsoft WMIScripting Library) returns an error which cannot be handled in an exception! (I tried to use my code in the exception but it was not performed). In this family-friendly scroller, you guide an intrepid dwarf adventurer through a moonlit fairy-tale world. ![]() Along the way, you collect artifacts and treasure and fend off bees, ghosts, and bats. If games like Brave Dwarves 2 are any indication, the Mario Brothers tradition is still going strong. ![]() There are 2 good examples how to get a serial number: All they work for me (Windows 7). You can use this ID to generate licenses based in this fingerprint which must be “unique” by machine. The general idea to generate a Hardware ID (machine fingerprint) is collect data from the CPU, HDD, BIOS, NIC and another hardware components which have serial numbers and unique characteristics. Delphi Developers - Information and Components Delphi Developers WMI and. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |