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.
Declaration Syntax
C# |
public class InputBlocker : IDisposable
Members
All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
InputBlocker()()() |
Blocks keyboard and mouse input until this object is disposed.
| |
Dispose()()() |
Unblocks keyboard and mouse input.
|
Inheritance Hierarchy
Object | |
InputBlocker |