not .Net per se but WMI has events that handle this kind of stuff - you must
have the System.Management librairies installed
the Win32_ProcessStartTrace event - indicates that a new process has started
class Win32_ProcessStartTrace : Win32_ProcessTrace
{
uint4 PageDirectoryBase;
string ParentProcessName;
uint32 ProcessID;
string ProcessName;
uint8 SECURITY_DESCRIPTOR[];
uint32 SessionID;
uint8 Sid[];
uint8 TIME_CREATED;
};
check out the microsoft.public.dotnet.framework.wmi news group for more info
;-)
"Michael Brown" <mr********@cox.net> wrote in message
news:97****************************@phx.gbl...
I would like to know if .NET has some sort of event that
I can write a method for or something similar for when an
application of my choosing starts.