/// <summary> /// Stops the web backend for the mobile clients (e.g. for speaker) /// </summary> private void StopDSVAlpinServer() { if (_alpinServer != null) { // Stop and re-create _alpinServer.Stop(); _alpinServer = null; } DisplayURL(); }
/// <summary> /// Starts the web backend for the mobile clients (e.g. for speaker) /// </summary> /// <remarks> /// Also triggers the display of the URL to use / the QR code for the mobile clients /// </remarks> private void StartDSVAlpinServer() { if (_alpinServer != null) { // Stop and re-create _alpinServer.Stop(); _alpinServer = null; } _alpinServer = new DSVAlpin2HTTPServer(8081); _alpinServer.Start(); DisplayURL(); }