title: How to disable mouse clicks in C#
body: <h2>Trying To achieve</h2>
  
  <p>I'm trying to block input from mouse for certain time </p>
  
  <p>I want to use the code like this: -</p>
  
  <pre><code>BlockMouse(true);
  
  // My code starts here
  ...
  // My code ends here
  
  BlockMouse(false);
  </code></pre>
  
  <h2>I Tried</h2>
  
  <ul>
  <li><code>BlockInput(true)</code> but it requires elevated permissions</li>
  </ul>