Example #1
0
        internal Dictionary <string, string> GetLicenseDetails()
        {
            Dictionary <string, string>       result        = null;
            Dictionary <string, SqlParameter> cmdParameters = new Dictionary <string, SqlParameter>();

            DataSet dataSet = dbutility.ExecuteQuery("QuotationDb", "dbo.GetLicenseDetails", cmdParameters);

            if (dataSet != null && dataSet.Tables.Count > 0 && dataSet.Tables[0].Rows.Count > 0)
            {
                result = CryptographyUtility.DecryptLicense(dataSet.Tables[0]);
            }

            return(result);
        }