public void Dispose() { if (_httpServer != null) { _httpServer.Dispose(); } if (_udpServer != null) { _udpServer.Dispose(); } }
public void Dispose() { if (_mcLock != null) { _mcLock.Release(); _mcLock.Dispose(); } if (_httpServer != null) { _httpServer.Dispose(); } if (_udpServer != null) { _udpServer.Dispose(); } }
/// <summary> /// This will stop the internal HTTP-Server (Should be called after you got the Token) /// </summary> public void StopHttpServer() { _httpServer.Dispose(); _httpServer = null; isServerActive = false; }
/// <summary> /// This will stop the internal HTTP-Server (Should be called after you got the Token) /// </summary> public void StopHttpServer() { _httpServer.Dispose(); _httpServer = null; }