How to 1st deinstall keyboard in device-manager by using C# in visual-studio …some code… 2nd Scan for hardware changes to reinstall the keyboard?


A small WinFromApp written in C# needs to disconnect the keyboard completly (the mouse must be working) during runtime.

In this forum here/Google/Youtube/… I only found many answers, which don’t really matches: (BlockInput, Hookkeys, or do it by change registry – with restart)

[This is my 1st using of this forum for place a Question.]

I still have programmed many with Dreamweaver MS-Office-VBA…

Visual Studio (2017) programming is new for me.
Because of this, I need also to know where to place the code/code-part(s).


Please enter your comment!
Please enter your name here