瀏覽代碼

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

liyuxuan 1 年之前
父節點
當前提交
a2488d1b45
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      Demo/Examples/Measure/App.xaml.cs
  2. 2 2
      Demo/Examples/Measure/license_key_windows.xml

+ 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;

文件差異過大導致無法顯示
+ 2 - 2
Demo/Examples/Measure/license_key_windows.xml