简体   繁体   English

获取正确的Internet Explorer的PID

[英]get correct PID of internet explorer

I need to get the correct PID of internet explorer. 我需要获取Internet Explorer的正确PID。 By starting the IE there exist two processes. 通过启动IE,存在两个过程。 I need to get the one I get via taskmanager from the running applicationv view (right click on mouse of the IE symbol -> change to process). 我需要从正在运行的applicationv视图中通过taskmanager获得一个(右键单击IE符号的鼠标->更改为process)。 I don't know how to get this pid via c#. 我不知道如何通过C#获取此pid。 I get an array of the two pids, but I don't know how to get the correct one automaticlly as describen above. 我得到了两个PID的数组,但是我不知道如何如上所述自动获取正确的PID。

Taking a quick look at this, there seems to be a 32-bit and a 64-bit IE process running. 快速浏览一下,似乎正在运行32位和64位IE进程。

If you use "go to process" in the task manager with IE, it takes you to the 64-bit process. 如果您在带有IE的任务管理器中使用“去处理”,它将带您进入64位处理。

See if you can filter these processes by 32 vs 64 bit. 看看是否可以通过32位和64位过滤这些进程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM