Click here to Skip to main content
15,614,257 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am looking for a way to write a program in c# that shows
1- witch application is creating a file in my windows xp or 7 (because most of viruses create files and i(most people) now which file is necessary for my(their) system and which one suffer the system)
2- is there any running application that is not shown in task manager(i know it is possible by writing kernel mode program) it is probably a malware .
3- all running services. (some viruses like conficker create a hidden service with a strange name but it is not shown on services)
Richard MacCutchan 20-Sep-10 3:26am    
This sounds like quite a task; I would suggest you take a look around some of the CodeProject articles for some ideas.

1 solution

To monitor Files, you can use a file system watcher and register events which will respond when a file is created / updated / deleted.

To get all running services use the ServiceController.GetServices() in System.ServiceProcess Namespace.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900