private void startWebServer() { webInterfaceObject = new WebInterface(); Thread webInterfaceThread = new Thread(new ThreadStart(webInterfaceObject.startInterface)); webInterfaceThread.Start(); lastTimeSkipped = DateTime.Now; }
private void StartWebServer() { if (_config.Fields.Elpis_RemoteControlEnabled) { _webInterfaceObject = new WebInterface(); Thread webInterfaceThread = new Thread(new ThreadStart(_webInterfaceObject.StartInterface)); webInterfaceThread.Start(); lastTimeSkipped = DateTime.Now; } }