public static string SendKey( int handle, Keys key, KeyboardEvent keyboardEvent )
Parameters
- handle
Type: System.Int32
The handle of the window.
- key
Type: System.Windows.Forms.Keys
The key for send.
- keyboardEvent
Type: keyboardEvent
The event of key for emulation.
Return Value
Type: System.String
The answer with information about the success of the current command's execution. If current command was successful then this answer is "ok"; otherwise message describing the error.