public void Reset() { m_Helper.Reset(); if (m_FileStream != null) { m_FileStream.Close(); m_FileStream = null; } m_Task = null; m_WaitFlushSize = 0; }
/// <summary> /// 重置下载代理。 /// </summary> public void Reset() { m_Helper.Reset(); if (m_FileStream != null) { m_FileStream.Close(); m_FileStream = null; } m_Task = null; m_WaitFlushSize = 0; m_WaitTime = 0f; m_StartLength = 0; m_DownloadedLength = 0; m_SavedLength = 0; }