public void PauseUnzip() { if (null != curUnzipTask) { curUnzipTask.Abort(); } }
public void Abort() { if (null != httpWebRequest) { httpWebRequest.Abort(); } if (null != httpWebRequest) { httpWebRequest.Abort(); } if (null != unzipTask) { unzipTask.Abort(); } downloadThread = null; httpWebRequest = null; FormatDownloadSpeed(0); }