Thanks for the reply, but it wasn't sufficient to achieve my goal.
First of all, a "single Key" hotkey is not possible, it must be a combination of Alt/Shift/Ctrl.
Secondly, it only detects the key being pressed, i cannot assign different actions for the key being Pressed/Released.
So I decided to write my own firewall in order to achieve my task,
my firewall doesn't use any drivers, injected libraries nor any windows configurations.
Instead it hooks the keyboard to detect the state of keys, Up/Down, then disables the internet connection while the specified key is pressed down, a