Is there any way to Disable Keyboard Using WMI RRS feed

  • Question

  • Hi,

    I am using C# and i want to Use WMI object to Disable/Enable all Input Devices such as Keyboard/Mouse/Touch Panel over a period of time. Is that Possible, if so can you provide any sample in c#?

    Thank you for the help!!


    Ravi Raj Nukala

    Regards, Ravi Raj Nukala

    Friday, April 27, 2018 11:38 AM

All replies

  • Hello Ravi,

    Why you want to use WMI to Disable input devices, what I think is you want to control other computers because for local computer relative API is enough.

    How to use Visual C# Disable Mouse and KeyBoard

    Best Regards,

    Neil Hu

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Edited by Fei Hu Monday, April 30, 2018 7:31 AM
    Monday, April 30, 2018 7:30 AM