Hack Forums
[.NET] how to disable mouse input in c# - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] how to disable mouse input in c# (/showthread.php?tid=6083566)



how to disable mouse input in c# - asd_123456 - May 31, 2020

please help me
what is the code used to disable mouse input in c#?
as , the mouse cannot be moved or clicked?
thanks


RE: how to disable mouse input in c# - He B TeMy - Jun 1, 2020

You can disable both the keyboard & mouse using the BlockInput API.