Key Send Command

Hi everyone,
I’m in process of building extend application for my game in VR. I need to activate game pause via extend C# code.
I have try to do it by sending “press key” but it doesn’t work.

Is there any way to do it?