金蝶kis云专业版V16.0 Kingdee.KIS.MobAppSer LIcense验证函数
[重要通告]如您遇疑难杂症,本站支持知识付费业务,扫右边二维码加博主微信,可节省您宝贵时间哦!
此文章仅作为记录模式 金蝶kis云专业版V16.0 Kingdee.KIS.MobAppSer LIcense验证函数
Kingdee.KIS.MobAppSer>MainViewModel
反混淆,LIcense文件 验证函数
private void DoAfterImportLicense() { string empty = string.Empty; GUtility.ReLoadProductInfo(false, out empty); DateTime expireDate = GUtility.BizProductInfo.get_ExpireDate(); DateTime createDate = GUtility.BizProductInfo.get_CreateDate(); DateTime dateTimeDictionaryFromShield = GUtility.GetDateTimeDictionaryFromShield("LicCreateDate", true); DateTime dateTimeDictionaryFromShield2 = GUtility.GetDateTimeDictionaryFromShield("TryExpireDate", true); this.WriteImportDateLog(createDate, expireDate, dateTimeDictionaryFromShield, dateTimeDictionaryFromShield2); if (DateTime.Now > expireDate || DateTime.Now < createDate || createDate < dateTimeDictionaryFromShield || expireDate < dateTimeDictionaryFromShield2) { GUtility.DeleteLocalLicense("DoAfterImportLicense"); GUtility.LoadSerLicenseWithTip(""); GUtility.ShowOKMessage(GUtility.DisText(358)); return; } if ((createDate - dateTimeDictionaryFromShield).TotalMinutes <= 0.0) { GUtility.ShowOKMessage(GUtility.DisText(359)); this.OpenReLogin(); return; } if (GUtility.IsValidGenuine()) { GUtility.BindShieldId = GUtility.ShieldID; this.m_mainHelper.SaveOfflineInfor(true); string text = FileOperatorDAL.ReadTxtFile(GUtility.BizProductInfo.get_LicenseFilePath()); string empty2 = string.Empty; if (!GUtility.BizExtend.WriteShieldLicValue(GUtility.ShieldType, text, ref empty2)) { GUtility.WriteSerLog(GUtility.DisText(360) + empty2); } GUtility.ShowSuccessMessage(GUtility.DisText(361)); this.OpenReLogin(); return; } GUtility.ShowOKMessage(GUtility.DisText(362)); }
金蝶旗下所有lic文件格式几乎雷同,金蝶不稀去进行耗时耗力的加密;
问题未解决?付费解决问题加Q或微信 2589053300 (即Q号又微信号)右上方扫一扫可加博主微信
所写所说,是心之所感,思之所悟,行之所得;文当无敷衍,落笔求简洁。 以所舍,求所获;有所依,方所成!
赏
支付宝赞助
微信赞助
免责声明,若由于商用引起版权纠纷,一切责任均由使用者承担。
您必须遵守我们的协议,如您下载该资源,行为将被视为对《免责声明》全部内容的认可->联系老梁投诉资源 LaoLiang.Net部分资源来自互联网收集,仅供用于学习和交流,请勿用于商业用途。如有侵权、不妥之处,请联系站长并出示版权证明以便删除。
敬请谅解! 侵权删帖/违法举报/投稿等事物联系邮箱:service@laoliang.net
意在交流学习,欢迎赞赏评论,如有谬误,请联系指正;转载请注明出处: » 金蝶kis云专业版V16.0 Kingdee.KIS.MobAppSer LIcense验证函数