public bool Save() { if (IsOldValidReg && !IsValidActivationCode()) { return(false); } Vars.SetVariable("UserName", UserName); Vars.SetVariable("CompanyName", CompanyName); Vars.SetVariable("Limitation", Limitation); Vars.SetVariable("MonthLimitation", MonthLimitation); Vars.SetVariable(EngineName + _RegistrationNo, ActivationCode); dp.SetVariables(Vars); return(IsValidActivationCode()); }