Batch file press any key to continue9/6/2023 ![]() ProcessStartEvent.EventArrived += new EventArrivedEventHandler(processStartEvent_EventArrived) ManagementEventWatcher processStartEvent = new ManagementEventWatcher("SELECT * FROM Win32_ProcessStartTrace") Public static extern bool ReadProcessMemory(IntPtr hProcess, UIntPtr lpBaseAddress, byte lpBuffer, int dwSize, IntPtr lpNumberOfBytesRead) Public extern static int OpenProcess(int access, bool inherit, int pid) I want to do something like the "sCreateProcessNotifyRoutineEx" function from C++ in C#. The problem is that the code below is executed when all threads in the process are loaded and the process is doing its job. ![]() I am developing an application to monitor new running processes before the main thread starts running.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |