Answer the question
In order to leave comments, you need to log in
How to lay the complete collapse of your project, removal, breakdown, stop?
Such an unusual question is how it is possible in your tons of code to stop the work of the library, application. There is an option to send a command to a specific port, but if the server is closed for unauthorized access. How to set a kill timer in your library or application?
Answer the question
In order to leave comments, you need to log in
Before engaging in such nonsense:
- think about the consequences - the Criminal Code of the Russian Federation, Art. 272
- all programmers know each other in one way or another :) Therefore, you come to settle in office A, and you are there "It was you who destroyed the results of your work in office B"?
Generate any exception by checking the number of entries from the database or log.
For example, get the total number of records (total) before any data addition: a=total/(102/2-1-total);
After 50 records, everything will fall with a division by 0 error and then the code will not be executed: the counter will stop exactly at 50.
PS: Use only as a last resort!
It may be easier to come up with a project installation. The project is standardly written to the machine. Further, any unique data is taken from this machine. The code is then encoded with this unique data. At each start, decoding and launching occurs. Not 100% secure, but someone will have to pay for the hack. When changing the code, complete removal, so that they do not climb with their hands.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question