Categories
How to disable mouse and keyboard in c#?
I'm making a "program" in Vs in c# in which I need to block the mouse and keyboard, I found this code on the Internet But it gives a lot of errors.
Answer the question
In order to leave comments, you need to log in
[DllImport("user32.dll")] public static extern int BlockInput(int fBlock);
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question