public static Hotkey Hotkeys.Register(string name, Keys key, ModifierKeys modifierKeys, Action<Hotkey> callback)
Executes the register operation with the supplied arguments.
namestring- Specifies name.
keyKeys- Specifies key.
modifierKeysModifierKeys- Specifies modifier keys.
callbackAction<Hotkey>- Specifies callback.
Returns: The Hotkey result.