Sì, hai travisato ...
Mi sembra chiaro in
http://msdn.microsoft.com/it-it/libr...ntprocess.aspx
in cui viene indicato
"A new Process component associated with the process resource that is running the calling application"
Quello che vuoi fare lo ottieni usando le API
[DllImport("user32.dll")]
public static extern IntPtr GetWindowThreadProcessId(IntPtr hWnd, out uint ProcessId);
[DllImport("user32.dll")]
private static extern IntPtr GetForegroundWindow();