Browse Source

compdfkit(win) - 测量Demo 按密钥文件验证

liyuxuan 1 năm trước cách đây
mục cha
commit
a2488d1b45

+ 2 - 2
Demo/Examples/Measure/App.xaml.cs

@@ -35,8 +35,8 @@ namespace Measure
             string TrialKey = "XvnZGEvx9IZlci4n0AIvhaOh98oIetIX+P8yOKgK3rdR+gp2wKYNdFB4cHnt+WIoUfimU0041gT1mRcKQ27D0wcTRk8URFuWJsjanD7GSHr2WbY8ukgPZVonIRUZC9qrwgPnP93UQbcu16GSvMyLsV6z4m4bhiQ+JcZ6jwkckDE=";
             string TrialSecret = "mG0c3O3Mzeu5dkZJW3gpqq9uA7o7EGQveSC38Q8TK4iYSXB8erGstkUyaynN7k8o9Bkm261z3QDQQd7GhWhZ9ncfsMf6ptexRA+BXdOITlphrp9sGpqfp0B228KI+IMTu4aGVjtYuk+Uxs/kosIBwyVLBY93oKLBB8UJg4t07605BGbaBKUlDopA0iGq1HSnxfuQtxA3SCjGmJx+Rn/MrKDl1EzWv/F/0Gw7Q02pypAMFoEMtjKxkVmy+liLW9u9";
 
-            //LicenseErrorCode verifyResult = CPDFSDKVerifier.LicenseVerify(sdkLicenseHelper.key, sdkLicenseHelper.secret);
-            LicenseErrorCode verifyResult = CPDFSDKVerifier.LicenseVerify(TrialKey, TrialSecret);
+            LicenseErrorCode verifyResult = CPDFSDKVerifier.LicenseVerify(sdkLicenseHelper.key, sdkLicenseHelper.secret);
+            //LicenseErrorCode verifyResult = CPDFSDKVerifier.LicenseVerify(TrialKey, TrialSecret);
             if (verifyResult != LicenseErrorCode.LICENSE_ERR_SUCCESS)
             {
                 return false;

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 2
Demo/Examples/Measure/license_key_windows.xml