I've got an application which is watching over executed processes on a device using a managementeventwatcher, like so... And my handler (just loggi ...
I've got an application which is watching over executed processes on a device using a managementeventwatcher, like so... And my handler (just loggi ...
I have a console app that works with monitoring all windows processes, waits for a specific one to appear and then work with it using UI Automation. I ...
Getting Exception in my code How to Handle this exception as shown in image How to handle ManagmentException ...
I want to get all the instances of WINWORD processes. As shown in image i have running two windows in WINWORD process. I want to get their file name a ...
I know how to get ProcessID and ProcessName using ManagementEventWatcher. My code is working good. &nbs ...
I need to create a record file activity on my USB drive. What I can do so far: It detects the insertion and extraction (detects the extraction af ...
I want in my application to detect if a USB Drive is plugged in or plugged out. I have googled a lot about it and actually found a lot answers but n ...
I have the following piece of code that always throws an exception: The stacktrace is as follows: The code that is causing it is in StopTreeWatcher ...
A process could be spawned using WMI COM, below example of spawning calc.exe in VBS. The parent would be WmiPrvSE.exe that is WMI COM server rather th ...
I might be using the term Memory Leak poorly but I'm not sure of any other way to describe it. I have wrote a Windows Service that uses the Management ...
I'm developing an application that uses ManagementEventWatcher to monitor USB events. The code works properly but in some cases the program lost some ...
Apologies ahead of time if I did not indent my code properly, this is my first post. So my end goal is to create a Windows Service that watches events ...
I am starting a new process from my c# application. After the process created I set its main window as a child of my app window using the ManagementE ...
I have the below very simple script Which should monitor when an ie window is opened, close it and run chrome instead. This works great the first t ...
I wrote a c# program to find newly inserted USB drive and its drive letter. Now when I run this program I got the insertion event and couldn't get the ...
Just want to detect any sort of usb device using event handler... Would appreciate any help... This is the code what i had tried. ...
I have a piece of code to handle scenarios where specific processes are started or stopped and in order to achieve this I am using ManagementEventWatc ...
I'm trying to create an application in C#.Net, and I need it to scan the processes that the user start and stop, but I'm getting an "Access Denied" on ...
So I have some code which checks for the plugin and removal of a USB device. I was wondering is there anyway I can stop the watchremove and watcher ...
I am not an experienced programmer so any advice/guidance/examples would be appreciated! I have a windows form application in C# (.Net framework 4.5) ...