uses blockinput lock keyboard and mouse,then you can at server send command to client let client sendinput send key message, unlock use blockinput use false param.this is very credibility,because you lock the mouse and keyboard other thread have no way to unlock.