public string Execute(string encodedVariable, string varName, string parameter3, string parameter4, ref Hashtable userVariables, ref Hashtable internalVariables)
        {
            this._stringToConvert = encodedVariable.Trim();
            this._ltVarName       = varName.Trim();
            string convertedString = null;

            try
            {
                if (this._stringToConvert.Length > 0)
                {
                    var base64InBytes = System.Convert.FromBase64String(this._stringToConvert);
                    convertedString = System.Text.Encoding.UTF8.GetString(base64InBytes);

                    if (this._ltVarName.Length > 0)
                    {
                        LTScriptingHelpers.UpdateLTUserVariables(this._ltVarName, convertedString, ref userVariables);
                    }
                }
            }
            catch (Exception ex)
            {
                controlCenter.LogMessage("Plugin Script String Function Extented commited an error in " + ex.TargetSite.Name + " " + ex.Message);
            }

            return(convertedString);
        }
        public string Execute(string strToEval, string varName, string parameter3, string parameter4, ref Hashtable userVariables, ref Hashtable internalVariables)
        {
            this._stringToEval = strToEval;
            this._ltVarName    = varName;

            string stringLength = null;

            try
            {
                stringLength = Convert.ToString(this._stringToEval.Length);

                if (varName.Length > 0)
                {
                    LTScriptingHelpers.UpdateLTUserVariables(this._ltVarName, stringLength, ref userVariables);
                }
            }
            catch (Exception ex)
            {
                controlCenter.LogMessage("Plugin Script String Function Extented commited an error " + ex.TargetSite.Name + " " + ex.Message);
            }

            return(stringLength);
        }