Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License for OnPremise installations #30

Unanswered
sberer asked this question in Q&A
Discussion options

We want to run the SDK calls against an OnPremise installation. A licence is already activated for the on-premise installation. Does this mean that a licence must also be sent with the call in the SDK or can this be omitted?

var api = licenseFromEnv != null 
 ? new DocumentReaderApi(apiBaseUrl).WithLicense(licenseFromEnv)
 : new DocumentReaderApi(apiBaseUrl).WithLicense(licenseFromFile);
You must be logged in to vote

Replies: 1 comment

Comment options

Hello!

In case you have an active license under the service you do not need to send it in the request (request).

In order to check the license status, you should send an HTTP query to the following endpoint http://localhost:8080/api/ping, which produces simple JSON output:
Example:
{
"app-name": "Regula Document Reader Web API",
"license-id": "00000000-0000-0000-0000-000000000000",
"license-serial": "OL00000",
"server-time": "2021-06-28 09:16:00.453891+00:00",
"valid-until": "2022-12-31T00:00:00Z",
"version": "5.7.128414.450"
}

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /