I want to write a code which will disable Mouse and Keyboard for a particular period of time. It should disable use of mouse or keyboard through hardware. We should be able to use mouse and keyboard in programmatic way. This is because we want to do automation but make sure tat user do not disturb automation.
What I have tried:
I have searched a lot to disable programetically disable hardware in C# but it is not helping me out.