/// <summary> /// Stops the UPnP server. /// </summary> public static void Stop() { Log.Info("Stopping UPnP/DLNA server..."); IsRunning = false; _ms.Stop(); _ms.Dispose(); _ms = null; _dw = null; }
protected override void OnStop() { MediaCenter.Stop(); this.configHost.Close(); }