public string[] GetValues(string appName)
 {
     string[] result;
     try
     {
         SSOPropertyBag  sSOPropertyBag  = new SSOPropertyBag();
         ISSOConfigStore iSSOConfigStore = (ISSOConfigStore) new SSOConfigStore();
         iSSOConfigStore.GetConfigInfo(appName, SSO.CONFIG_NAME, 4, sSOPropertyBag);
         string[] array = new string[sSOPropertyBag._dictionary.Count];
         int      num   = 0;
         foreach (KeyValuePair <string, object> current in sSOPropertyBag._dictionary)
         {
             array[num] = current.Value.ToString();
             num++;
         }
         result = array;
     }
     catch (Exception ex)
     {
         EventLog.WriteEntry("SSOConfigCmdTool - GetValues", ex.Message);
         result = new string[]
         {
             ""
         };
     }
     return(result);
 }
 public void SaveApplicationData(string appName, string[] arrKeys, string[] arrValues)
 {
     try
     {
         int            num            = arrKeys.Length;
         SSOPropertyBag sSOPropertyBag = new SSOPropertyBag();
         for (int i = 0; i < num; i++)
         {
             sSOPropertyBag.SetValue <string>(arrKeys[i], arrValues[i]);
         }
         ISSOConfigStore iSSOConfigStore = (ISSOConfigStore) new SSOConfigStore();
         iSSOConfigStore.SetConfigInfo(appName, SSO.CONFIG_NAME, sSOPropertyBag);
     }
     catch (Exception ex)
     {
         EventLog.WriteEntry("SSOConfigCmdTool - SaveApplicationData", ex.Message);
     }
 }