Esempio n. 1
0
 /// <summary>
 /// 获取全局下载状态
 /// </summary>
 /// <param name="globalStat">设置信息</param>
 /// <returns>成功返回全局下载状态, 失败返回空</returns>
 public Aria2cGlobalStat GetGlobalStat()
 {
     try
     {
         return(Aria2cWarpper.GetGlobalStat());
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
         return(null);
     }
 }