C# .net Get FullName from Process ID
<p>how to get FullName(path) from Process ID</p>

<p>For example if int id = 234</p>

<p>how to find the location of id;</p>

<pre><code>int Id = Convert.ToInt32(lvprocesslist.SelectedItems[0].SubItems[1].Text); 
string s = Process.GetProcessById(Id).MainModule.FileName; 
Console.WriteLine(Path.GetFullPath(s));
</code></pre>

<p>its not working under a windows PID, (notepad with 3704) not working</p>

<p>thankyou.</p>
