Get Process UserName
-
How i can get an UserName from a Process? (like TaskBar)
-
How i can get an UserName from a Process? (like TaskBar)
u can use System.Diagnostics.Process namespace eg: to get the current process System.Diagnostics.Process p= System.Diagnostics.Process.GetCurrentProcess(); now p.ProcessName will give the name of the process...
Koushik
-
u can use System.Diagnostics.Process namespace eg: to get the current process System.Diagnostics.Process p= System.Diagnostics.Process.GetCurrentProcess(); now p.ProcessName will give the name of the process...
Koushik
i know that but... how do you get the UserName?? http://xs220.xs.to/xs220/07415/ersdf1.JPG
-
How i can get an UserName from a Process? (like TaskBar)
This might help: http://www.codeproject.com/useritems/processownersid.asp[^]
Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007