UtilKeyboardSendKeyAsync(IntPtr, Keys, KeyBehavior) Method

Asynchronouslly sends a keystroke to the specified window.

Definition

Namespace: DevCase.Core.IO.Devices.Input
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool SendKeyAsync(
	IntPtr hWnd,
	Keys key,
	KeyBehavior behavior
)

Parameters

hWnd  IntPtr
A handle to the target window.
key  Keys
The key to synthesize.
behavior  KeyBehavior
The keystroke behavior.

Return Value

Boolean
If the function succeeds, the return value is .

If the function fails, the return value is .

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also