I am working on a project and I want my application to be run on only one system!
All I want is that when I deliever my project to one particular and he can not be able to copy my project and can run on any other computer system.
I am working on Java 8 IDE(NetBeans).
Thanks
if you need an offline solution you can use any of these features
Get hardware details
but always the best answer is to keep part of the application inside your own server , when installing the application you can complete it only for this particular this machine .
Way No.1
Way No.2
put in your mind that someone can reverse engineering your code , so I prefer always the first way
You can ask client for his MAC
address and include it in your code then using java code obtain the MAC
address of the computer the executes it and then compare the same to the client's MAC
initially stored in your program. In case of mismatch code for the program termination of your program.
You can find the code for retrieving the MAC id from the following example
Get MAC Address of System in Java
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With