num-lock

How can I check and toggle Num-Lock programmatically in C#?

Hi, I would like to programmatically check the value of, and be able to toggle num-lock. What's the simplest way to do that in C#? The reason is that I want to verify num-lock is "ON" at program start. Thanks ...

Disabling num-lock toggle in C#?

Hello, I would like to maintain num-lock ON as long as my application is running, so that if the user un-toggles num-lock, it will immediately be toggled back on. What's the simplest way to achieve that in C#? To clarify, while my application is running I "own" the user's machine, so in my specific case there will not be a need for the...

Get and set Num/Caps/Scroll-lock status in Mono C#

Is thyere a way in Mono.Net to get and set the Num/Caps/Scroll-lock status platform independent (Linux and Windows)? Thanks in advance. ...