I have developed a windows service which records the applications (processes) that runs on the machine.
To get the process start trigger i have used wmi.
Expand|Select|Wrap|Line Numbers
- Obj_ManagementStartWatcher = New ManagementEventWatcher("Select * From Win32_ProcessStartTrace")
- AddHandler mObj_ManagementStartWatcher.EventArrived, AddressOf Proces_Arrived
- Obj_ManagementStartWatcher.Start()
My service stop recieve the triggers from wmi.
Moreover, in that condition if i try to restart wmi service it does not restarts as well.
The behaviour continues till i restart my machine.
What idea or suggestion how can I avoid this malfunctioning.
Thanks and Regards,
Maverick.