Click here to Skip to main content
15,849,328 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
why when run this code "Process[] ProcessAll = Process.GetProcesses();". No load data found in "ProcessAll". But if runnning in diferent machine "processAll" will be found any program.

Why so?? What Happen??

Please help me..

Best regards,
Posted
Comments
Prerak Patel 13-Sep-11 2:08am    
Not clear.

If you are a normal user then you will only see your own processes.

To see all processes on your machine you must be an administrator when the code is running.
 
Share this answer
 
(This probably could be the reason)
This member cannot be used by partially trusted code.
http://msdn.microsoft.com/en-us/library/1f3ys1f9.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900