IMO optimal way is to use combination of few hardware related serials and obsoleting license only when ALL of them change. Using MAC address for licensing is a joke as changing it is very simple even for not advanced user. But it seems to be little bit tricky to use and works only for XP and above.Īlternatively you may use diskid32 freeware tool in manner similar to "dir nothing". Additionally WMI gives you classes (I may be wrong - just found this out) to get virtually any number from hardware (i.e. Any ideas about this?Īs for volume physical serial number you may use Win32_PhysicalMedia class from Windows Management Instrumentation, but you would have to build your own DLL wrapper in C++ or use MS script engine to get this information (examples for both methods for WMI are provided in above link). Michael's link fruited some ideas about using the BIOS card, which I'm looking into now. MAC Address is no good since disabling the network card will make it impossible to read, and internet is not necessary to run the program. I was leaning more towards a physical Serial Number of the hard drive which can only be changed if the hard drive is swapped. I was actually hoping to avoid using the Volume Serial Number, since I understand that it is not very static (reformatting will change it, and make the license obsolete).
0 Comments
Leave a Reply. |