Program.cs 698 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using System.Windows.Forms;
  6. namespace MusicPlayer
  7. {
  8. static class Program
  9. {
  10. /// <summary>
  11. /// The main entry point for the application.
  12. /// </summary>
  13. [STAThread]
  14. static void Main()
  15. {
  16. APIHandler api = new APIHandler();
  17. NetworkHandler nw = new NetworkHandler("www.imegumii.nl", api);
  18. nw.SendString("GET /getsongbyid?id=102 HTTP/1.1");
  19. Application.EnableVisualStyles();
  20. Application.SetCompatibleTextRenderingDefault(false);
  21. Application.Run(new Form1());
  22. }
  23. }
  24. }