private int GetProcesses(AppOptions options) { int result = 0; CmdGetProcessesRequest request = new CmdGetProcessesRequest(1); if (!client.SendCommand(request)) { result = 1; } else { waitAnswer.WaitOne(); } return(result); }
public CmdGetProcessesResponse GetProcesses(CmdGetProcessesRequest request) { return(new CmdGetProcessesResponse(request.Id, false, ProcessHelper.GetProcessModels())); }