Is it possible to save data in another process with a C# app?
<p>I have the following code:</p>

<pre><code>p.StartInfo.FileName = "notepad.exe";
p.StartInfo.Arguments = "somefile.txt";
p.Start(); 
</code></pre>

<p>When "somefile.txt" is opened in notepad, its text will be modified. I want to save the new text in a temp file with the C# app automatically. 
Is it possible to access this text and save it with C#?</p>
