UtilKeyboardSendKey(VirtualKeys, KeyBehavior) Method
Sends a keystroke to the active window.
Namespace: DevCase.Core.IO.Devices.InputAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- vKey VirtualKeys
-
The key to synthesize.
- behavior KeyBehavior
-
The keystroke behavior.
Int32
The function returns the number of events that it successfully inserted into the keyboard input stream.
If the function returns zero, the input was already blocked by another thread.
This is a code example.
No code example is currently available or this language may not be supported.
SendKey(Keys.Enter, KeyBehavior.Press)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.