Filter .Net processess from all windows processess
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.
精彩评论