开发者

Filter .Net processess from all windows processess

开发者 https://www.devze.com 2023-03-03 14:22 出处:网络
Filter all the processes which are running in .net开发者_运维问答 Framework from the processes of windows application,In order to accomplish this, you would need to look at the DLLs that each running

Filter all the processes which are running in .net开发者_运维问答 Framework from the processes of windows application,


In order to accomplish this, you would need to look at the DLLs that each running process is using. I think the common one every .NET application would be using is the mscorlib.dll. Therefore, if an application is using mscorlib.dll, you can determine that it is a .NET application. That will give you every process that is running a version of the .NET framework.


Hi thanks for your comments and Answer.

Atlast i found the answer for my Query.

Use the WMI query in your Code Like.

"SELECT * FROM Win32_PerfRawData_NETFramework_NETCLRMemory"

This will fetch all the .Net Framework Processes in your Application.

0

精彩评论

暂无评论...
验证码 换一张
取 消