Filter all the processes which are running in .net Framework from the processes of windows application,
Asked
Active
Viewed 78 times
0
-
1There needs to be a question here. You should also be able to show some good faith effort that you have been working on this issue. Go to Google first and then come back here with a semi-working example or at least the explanation that you couldn't find anything that looked like it would work. – IAmTimCorey May 06 '11 at 06:37
-
You also need to consider some gray areas - e.g. SQL Server, or any application with a general plugin architecture may have loaded .NET due to that plugin, but may not be a .NET framework app itself. – Damien_The_Unbeliever May 06 '11 at 06:47
-
1possible duplicate of [How to check if a program is using .NET?](http://stackoverflow.com/questions/2080046/how-to-check-if-a-program-is-using-net) – M4N May 06 '11 at 09:57
2 Answers
0
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.

IAmTimCorey
- 16,412
- 5
- 39
- 75
0
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.

swetha
- 31
- 3