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
Copy file name to clipboardExpand all lines: info/api/Dynamsoft_WebTwainEnv.md
+21-17Lines changed: 21 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,12 +82,11 @@ UpdateCert(
82
82
83
83
## licenseException
84
84
85
+
Error message related to license.
86
+
85
87
**Syntax**
86
88
87
89
```typescript
88
-
/**
89
-
* Error message related to license.
90
-
*/
91
90
licenseException: string;
92
91
```
93
92
@@ -132,27 +131,32 @@ Sets or returns where the library looks for resources files including service in
132
131
133
132
### `UpdateCert`
134
133
134
+
Update and download certificate (server.pem.ldsc & server_key.pem.ldsc) to DynamsoftServicex64_17\cert.
135
+
135
136
**Syntax**
136
137
137
138
```typescript
138
-
/**
139
-
* Update and download certificate (server.pem.ldsc & server_key.pem.ldsc) to DynamsoftServicex64_17\cert.
140
-
* @paramurl Url to download the new certificate. E.g. http://download.dynamsoft.com/cert.zip. server.pem.ldsc & server_key.pem.ldsc should be in cert.zip.
141
-
* @paramsuccessCallback A callback function that is executed if the request succeeds.
142
-
* @paramfailureCallback A callback function that is executed if the request fails.
143
-
* @argumenterrorCode The error code.
144
-
* @argumenterrorString The error string.
145
-
*/
146
139
UpdateCert(
147
-
url: string,
148
-
optionalAsyncSuccessFunc?: () =>void,
149
-
optionalAsyncFailureFunc?: (
150
-
errorCode: number,
151
-
errorString: string) =>void
152
-
);
140
+
url: string,
141
+
optionalAsyncSuccessFunc?: () =>void,
142
+
optionalAsyncFailureFunc?: (
143
+
errorCode: number,
144
+
errorString: string) =>void
145
+
);
153
146
```
154
147
148
+
**Parameters**
149
+
150
+
`url`: Url to download the new certificate. E.g. http://download.dynamsoft.com/cert.zip. server.pem.ldsc & server_key.pem.ldsc should be in cert.zip.
151
+
152
+
`successCallback`: A callback function that is executed if the request succeeds.
153
+
154
+
`failureCallback`: A callback function that is executed if the request fails.
0 commit comments