Esempio n. 1
0
        static string[] GetConfigParameter(INIManager INI)
        {
            var rootCatalog = INI.GetPrivateString("RootCatalog", "BasePath");
            var BaseURL     = INI.GetPrivateString("BaseURL", "RootURL");

            string[] result = { rootCatalog, BaseURL };
            return(result);
        }
 public void UpdateRulesValue(INIManager INI, string token)
 {
     foreach (var item in rules)
     {
         item.IsActivated   = INI.GetPrivateString(item.Name, "IsActive") == "true"?true:false;
         item.TargetCatalog = INI.GetPrivateString(item.Name, "TargetPath");
         item.Token         = token;
         item.RequestNeedParameter();
     }
 }