Blocks keyboard and mouse input until this object is disposed.
Unlike InputLocker, you cannot detect when the systems
removes the block (which happens when the user presses CTRL+ALT+DEL),
but it works on Windows Vista as well.
| C# |
public class InputBlocker : IDisposable
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| InputBlocker()()() |
Blocks keyboard and mouse input until this object is disposed.
| |
| Dispose()()() |
Unblocks keyboard and mouse input.
|
| Object | |
| InputBlocker | |