/// <summary>
 /// 取消暂停所有任务
 /// </summary>
 /// <param name="gid">任务标识符</param>
 /// <returns>成功返回true, 失败返回fale</returns>
 public bool UnPauseAll()
 {
     try
     {
         bool result = Aria2cWarpper.UnPauseAll();
         if (result)
         {
             OnUnPauseAll?.Invoke(this, new EventArgs());
         }
         return(result);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
         return(false);
     }
 }