public MainForm() { CheckForIllegalCrossThreadCalls = false; InitializeComponent(); HTTPServer server = new HTTPServer(Configuration.Port, LogMessage); }
static void Main(string[] args) { HTTPServer server = new HTTPServer(80); server.Start(); }