コード例 #1
0
 /*!
  * Used for connDetails that was received from UI with replaced sensitive info by SENSITIVE_VALUE_REPLACER.
  * Here it will be replaced back to real values.
  *
  */
 public static void ResetSensitiveInfo(ConnectionDetails connDetails)
 {
     try
     {
         ConnectionDetails connFromFs = Read(false);
         connFromFs.ResetSensitiveInfoTo(connDetails);
     }
     catch (FileNotFoundException)
     {
         //do nothing, configuration file still not exist
     }
 }
コード例 #2
0
        /*!
         * Used for connDetails that was received from UI with replaced sensitive info by SENSITIVE_VALUE_REPLACER.
         * Here it will be replaced back to real values.
         *
         */
        public static void ResetSensitiveInfo(ConnectionDetails connDetails)
        {
            ConnectionDetails connFromFs = Read(false);

            connFromFs.ResetSensitiveInfoTo(connDetails);
        }