03-22-2006 08:15 PM
03-23-2006 02:35 AM
Here's a very basic way of doing it:
1. Ask the client for the MAC ID of the computer the software will run on.
2. Use this to create an encrypted key file. Provide this to the customer, along with your software, or on activation.
3. Check this key file in your app on startup. And compare it with the MAC ID on the computer. Grant/deny access accordingly.
Depending on the encryption used, the user should not be able to create such files on their own. Caveat: there are ways of changing MAC IDs on a computer.. or so I have heard.
-Khalid
03-23-2006 07:30 AM
03-23-2006 08:41 AM
Hi,
Are you asking whether LV can get MAC information?
If so, the answer is yes. See attached code. This also gets MAC of computers on the LAN...
Rgds,
Gurdas
03-23-2006 10:49 AM
Maybe I missed something here, but isn't the MAC address associated with the network card? What if this is on a barebones laptop or PC without any kind of networking ability?
I already require Windows XP for the software to run, will this still work?
03-23-2006 11:12 AM - edited 03-23-2006 11:12 AM
You're right. The other unique data you could use are Processor ID, Hard-disk Serial number, etc.
-Khalid
Message Edited by Khalid on 03-23-2006 11:13 AM
03-23-2006 11:22 AM
03-23-2006 11:33 AM
03-23-2006 11:55 AM
I quickly modified the WMI_GetHDModel.vi to retrieve the ProcessorID. Attached.
Regards,
-Khalid
03-24-2006 09:41 AM
Thank you, this is great!
One more question though. Will this always be a hex number, or is it just the letters in my ID happen to be A-F?