public static void SendFile(string filePath) { SEClient sec = new SEClient(CommandType.SendFile); }
private void ExecuteCall(object execArgs) { ExecutionArgs args = (ExecutionArgs)execArgs; SEClient sec = new SEClient(args.Type); sec.MyCommand.Users = args.Users; try { sec.MyCommand.Execute(); } catch (Exception exc) { this.Outcome = false; MessageBox.Show(exc.Message); } resetEvent.Set(); }