本地处理请求 [英] Processing Request in Local

查看:86
本文介绍了本地处理请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么运行此代码"Process [] ProcessAll = Process.GetProcesses();".在"ProcessAll"中找不到加载数据.但是,如果在不同的计算机"processAll"中运行,则会发现任何程序.

为什么这样??发生了什么?

请帮帮我..

最好的问候,

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,

推荐答案

如果您是普通用户,则只会看到自己的进程.

要查看计算机上的所有进程,代码运行时必须是管理员.
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.


(这可能是原因)
该成员不能由部分信任的代码使用.
http://msdn.microsoft.com/en-us/library/1f3ys1f9.aspx [ ^ ]
(This probably could be the reason)
This member cannot be used by partially trusted code.
http://msdn.microsoft.com/en-us/library/1f3ys1f9.aspx[^]


这篇关于本地处理请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆