title: How can I send the F4 key to a process in C#?
body: <p>I am starting a process from a Windows application. When I press a button I want to simulate the pressing of key <kbd>F4</kbd> in that process. How can I do that?</p>
  
  <p>[Later edit] I don't want to simulate the pressing of the <kbd>F4</kbd> key in my form, but in the process I started.</p>