コード例 #1
0
 /// <summary>
 /// 移除指定任务信息, 清空内存
 /// </summary>
 /// <param name="gid">任务标识符</param>
 /// <returns>成功返回true, 失败返回fale</returns>
 public bool RemoveDownloadResult(string gid)
 {
     try
     {
         return(Aria2cWarpper.RemoveDownloadResult(gid));
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
         return(false);
     }
 }