LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

need to protect my application software

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?

 

Regards,
Balaji DP
0 Kudos
Message 1 of 10
(4,158 Views)

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

0 Kudos
Message 2 of 10
(4,149 Views)
do you have any other way?...... finding mac address is only possible for me only, i should be there at customer side and have to give the id,

Regards,
Balaji DP
0 Kudos
Message 3 of 10
(4,139 Views)

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

0 Kudos
Message 4 of 10
(4,131 Views)
do you know how to read thae mac address from client hardware id? through tcpip.... i am doing communication with the Ethernet port of hardware, so i can find out my hardware id , after then i can give my activation code to my user
Regards,
Balaji DP
Message 5 of 10
(4,127 Views)

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. 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 6 of 10
(4,113 Views)

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.

PaulG.

LabVIEW versions 5.0 - 2023

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 7 of 10
(4,084 Views)

I'm using LabView 8.2, can't open your file. Can you please save to LV8.2 ..

 

Thanks

0 Kudos
Message 8 of 10
(3,904 Views)
This has been saved in 8.2
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 9 of 10
(3,868 Views)
Check MAC Adress in LV 8.0.1
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 10 of 10
(3,864 Views)