Can somebody help me in converting the following java code to C#.
Robot robot = new Robot();
robot.keyPress(KeyEvent.VK_WINDOWS);
robot.keyPress(KeyEvent.VK_M);
robot.keyRelease(KeyEvent.VK_WINDOWS);
robot.keyRelease(KeyEvent.VK_M);
I understood we have to use 'user32.dll'. But I am not sure which methods we have to call.