You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Run the project and then you can open the multifunctional ***"PDFViewer"*** demo.
40
40
@@ -76,7 +76,7 @@ There are two ways to add ComPDFKit to your Project: [Nuget Repository](https://
76
76
77
77
2. Go to [ComPDFKit.NetFramework](https://www.nuget.org/packages/ComPDFKit.NetFramework) in Nuget, and click on the **Install** button to install the package.
6. Once that's complete, you'll see a reference to the package in the Solution Explorer under **References**.
123
123
@@ -132,16 +132,15 @@ You can [contact the ComPDFKit team](https://www.compdf.com/contact-us) to obtai
132
132
You can perform online authentication using the following approach:
133
133
134
134
```c#
135
-
publicstaticasyncTask<bool>LicenseVerify()
135
+
publicstaticboolLicenseVerify()
136
136
{
137
-
if (!CPDFSDKVerifier.LoadNativeLibrary())
138
-
{
139
-
returnfalse;
140
-
}
141
-
LicenseErrorCodestatus=awaitCPDFSDKVerifier.OnlineLicenseVerify("Input your license here.");
142
-
returnstatus==LicenseErrorCode.E_LICENSE_SUCCESS;
137
+
if (!CPDFSDKVerifier.LoadNativeLibrary())
138
+
{
139
+
returnfalse;
140
+
}
141
+
LicenseErrorCodestatus=CPDFSDKVerifier.OnlineLicenseVerify("Input your license here.");
142
+
returnstatus==LicenseErrorCode.E_LICENSE_SUCCESS;
143
143
}
144
-
145
144
```
146
145
147
146
Additionally, if you need to confirm the communication status with the server during online authentication, you can implement the `CPDFSDKVerifier.LicenseRefreshed` callback:
@@ -194,14 +193,20 @@ We have finished all prepare steps. Let's display a PDF file.
0 commit comments