public HttpInterface(string port) { _listener = new HttpListener(); _listener.Prefixes.Add("http://127.0.0.1:" + port + "/"); _runner = new Thread(Run); _runner.IsBackground = true; _running = false; _port = port; }