Esempio n. 1
0
File: CQ.cs Progetto: zzzzzga/CQP
 /// <summary>
 /// 获取酷Q插件App的目;如果是UDP方式,返回的则为酷Q主目录。
 /// </summary>
 /// <returns></returns>
 public static string GetCQAppFolder()
 {
     if (ProxyType == CQProxyType.UDP)
     {
         return(AppDomain.CurrentDomain.BaseDirectory);
     }
     else
     {
         return(CQAPI.GetCQAppFolder(CQAPI.GetAuthCode()));
     }
 }