Esempio n. 1
0
 /// <summary>
 /// 所有正在下载的任务信息
 /// </summary>
 /// <param name="tasks">返回的任务信息列表</param>
 /// <param name="keys">查找的属性关键字</param>
 /// <returns>成功返回正在下载的任务信息列表,失败返回空</returns>
 public List <Aria2cTask> TellActive(params string[] keys)
 {
     try
     {
         return(Aria2cWarpper.TellActive(keys));
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
         return(null);
     }
 }