public void Stop() { _wc.CancelAsync(); _wc.Dispose(); _xmlBuilder?.Stop(); _xmlBuilder = null; IsDownloading = false; }
public void Stop(bool force = false) { _wc.CancelAsync(); _wc.Dispose(); if (force) { _xmlBuilder?.QuickStop(); } else { _xmlBuilder?.Stop(); } _xmlBuilder = null; IsDownloading = false; }