public override void Run() { GetProcessesDLLEventArgs e1 = new GetProcessesDLLEventArgs(DLL, Client.RemoteEndPoint.ToString()); GetProcessesDLLEvent.OnGetProcessesDLL(e1); DLL = null; //clean memory }
public void onProcessDllInfo(object o, GetProcessesDLLEventArgs e) { try { if (e.RemoteIP != RemoteIP || PID != e._processDllInfo.PID) { return; } string[] str = new string[5]; str[0] = e._processDllInfo.FileName; str[1] = e._processDllInfo.ModuleName; str[2] = e._processDllInfo.BaseAddress; str[3] = e._processDllInfo.EntryPointAddress; str[4] = e._processDllInfo.ModuleMemorySize; ListViewItem itm = new ListViewItem(str, 0); listView1.Items.Add(itm); }catch { /* Key already exists at XX, networking is too fast ? lol */ } }