Code for pressing the escape key

Captain Noodles 1 Reputation point
2022-03-26T03:11:04.197+00:00

Hi all I have really no knowledge on C# but I was just wondering if there is a quick code for pressing the escape key. that is all thank you for any help you can provide

Windows for business Windows Client for IT Pros Devices and deployment Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 90,521 Reputation points
    2022-03-26T07:02:02.797+00:00
     SendKeys.Send("{ESC}");
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.