C # completely implement the locking mechanism for Internet cafes [Absolutely original]

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.