07-16-2009 02:47 AM
Hello ni,
I want to protect my application software developed by labview.... i dont have internet facilities, i am developing application package of datalogger for Thirdparty instruments. my aplication software should installed in the one system only.
how to do this logic?
07-16-2009 03:23 AM
This is a simple solution which may adapt you. Get mac address of the pc in which you install software. Compare the mac address first once it is matched start your application. The mac address is different for every NIC card. But for this the pc should have the NIC card.
More info see the vi attached
Regards
Samuel J
07-16-2009 04:07 AM
07-16-2009 04:18 AM
You encrypt and write the mac id in registry. during startup read from that. and compare.
The example attached is just an idea to do and not the fully functional code.
I don't know any other way to do.
Thanks & Regards
Samuel J
samuel@captronicsystems.com
07-16-2009 04:24 AM
07-16-2009 05:01 AM
This is not bulletproof (nothing really is), but if you're on Windows, it will work somewhat.
Find the VOLUME ID of the drive your program is installed on.
That's available with a simple system call.
Combine that with the USER NAME and COMPANY NAME, and maybe a SERIAL NUMBER for your copy.
Re-arrange that data, invert it, XOR it with something, do something to encrypt (in a loose sense of the word) it into a registration key.
Store that key in the Windows Registry, or in a separate license file.
At run time, fetch the VOLUME ID again. Fetch the key from wherever you stored it.
Decode the VOLUME ID from the key.
Having no key, or a mismatched volume ID means it's not a registered copy.
This will discourage casual pirates, but not a real hacker.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
07-16-2009 07:46 AM
In your case I would go with a software dongle. They are not that expensive and easy to set up in your code. Of course the user can move the application from one PC to another but the dongle will only allow the software to run in one PC at a time.
10-02-2009 04:20 AM
I'm using LabView 8.2, can't open your file. Can you please save to LV8.2 ..
Thanks
10-02-2009 08:06 AM
10-02-2009 08:16 AM