A method that prohibits others from using a piece of software on the machine

  

How can I prevent others from using your software? Set access rights? Encrypt the folder?

There is a way to compare "loss"~

Create a new text file in the folder where the main program is located;

Rename the file to "ws2_32.dll".

Now execute your software and see if it can be used? At runtime, you will be prompted: "The application or DLL X:\\XXXXXXX\\WS2_32.dll is an invalid Windows image. Please check your installation disk again."

Let's see what this ws2_32.dll is. ~

ws2_32 - ws2_32.dll - DLL file information

DLL file: ws2_32 or ws2_32.dll

DLL Name: WinSock 2.0 32bit

Description:

ws2_32.dll is a Windows Sockets application interface for supporting Internet and web applications.

belongs to: Windows Sockets

System DLL file: Yes

Common errors: File Not Found, Missing File, Exception Errors

See it~ Program When starting, it will first find the DLL in the folder where it is located. If it is not, it will go to the system directory to find it, but because the program finds a fake file, it will go wrong and cannot run~

This DLL is used for Network, then will it be good for programs that do not access the network? Try it yourself~

After the kids or girlfriends want to use your computer to play QQ games, know what to do~


Copyright © Windows knowledge All Rights Reserved