金蝶kis云專業(yè)版V16.0 Kingdee.KIS.MobAppSer LIcense驗(yàn)證函數(shù)
[重要通告]如您遇疑難雜癥,本站支持知識(shí)付費(fèi)業(yè)務(wù),掃右邊二維碼加博主微信,可節(jié)省您寶貴時(shí)間哦!
此文章僅作為記錄模式 金蝶kis云專業(yè)版V16.0 Kingdee.KIS.MobAppSer LIcense驗(yàn)證函數(shù)
Kingdee.KIS.MobAppSer>MainViewModel
反混淆,LIcense文件 驗(yàn)證函數(shù)
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)); }
金蝶旗下所有l(wèi)ic文件格式幾乎雷同,金蝶不稀去進(jìn)行耗時(shí)耗力的加密;
問題未解決?付費(fèi)解決問題加Q或微信 2589053300 (即Q號(hào)又微信號(hào))右上方掃一掃可加博主微信
所寫所說,是心之所感,思之所悟,行之所得;文當(dāng)無敷衍,落筆求簡(jiǎn)潔。 以所舍,求所獲;有所依,方所成!
賞
支付寶贊助
微信贊助
免責(zé)聲明,若由于商用引起版權(quán)糾紛,一切責(zé)任均由使用者承擔(dān)。
您必須遵守我們的協(xié)議,如您下載該資源,行為將被視為對(duì)《免責(zé)聲明》全部?jī)?nèi)容的認(rèn)可->聯(lián)系老梁投訴資源 LaoLiang.Net部分資源來自互聯(lián)網(wǎng)收集,僅供用于學(xué)習(xí)和交流,請(qǐng)勿用于商業(yè)用途。如有侵權(quán)、不妥之處,請(qǐng)聯(lián)系站長(zhǎng)并出示版權(quán)證明以便刪除。
敬請(qǐng)諒解! 侵權(quán)刪帖/違法舉報(bào)/投稿等事物聯(lián)系郵箱:service@laoliang.net
意在交流學(xué)習(xí),歡迎贊賞評(píng)論,如有謬誤,請(qǐng)聯(lián)系指正;轉(zhuǎn)載請(qǐng)注明出處: » 金蝶kis云專業(yè)版V16.0 Kingdee.KIS.MobAppSer LIcense驗(yàn)證函數(shù)