I have been tired for several days! The company has received a project that requires the plug-in lock module of the Internet cafe. In fact, this kind of thing can be implemented on the Internet using C or C ++. CodeThere are also many.
But the implementation of C # can hardly be found, and it cannot be said that even if it is found, there is no available code or perfect. Really worried...
I 've been searching for my website for many days, and I 've got a misunderstanding from the network ~~~~~ You can't write it by yourself.
This is generally related to the operating system.ProgramWindows APIs are indispensable. We suddenly realized that this problem can only be solved by keyboard hooks.
Bury yourself in writing code .......
However, the CTRL + ALT + Delete level is the highest hook that cannot intercept its information. I am worried again!
Finally, I implemented the C # hook-up lock. In fact, since the CTRL + ALT + Delete hotkeys cannot be blocked, do not ignore them. You can think differently.
Use a hook to control the left and right keys of the mouse. When the left and right keys of the mouse are clicked, you can set the hanging lock window to the top !! Solve the problem.
There are many source codes. Leave a mailbox if you need it.