Esempio n. 1
0
 /// <summary>
 /// 获取下载任务的链接地址
 /// </summary>
 /// <param name="gid">任务标识符</param>
 /// <returns>成功返回下载地址列表,失败返回空</returns>
 public List <Aria2cUri> GetUris(string gid)
 {
     try
     {
         return(Aria2cWarpper.GetUris(gid));
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
         return(null);
     }
 }