public void Cleanup() { CleanupInternal(); if (DownloadService.GetTransferStatus(Token.TransferId) != TransferStatus.UnknownTransfer) { DownloadService.CancelTransfer(Token.TransferId, AbortReason.Undefined); } SystemTime.Reset(); RootDir.Delete(true); }