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: README.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,3 +123,40 @@ public static void main(String args[]) {
123
123
}
124
124
}
125
125
```
126
+
127
+
### Calling through the license server
128
+
If you would like to re-route the requests through our [license-server](https://github.com/cryptolens/license-server) that is installed on the client site, you can specify its url using `LicenseServerUrl`
129
+
parameter. All API models expose this parameter.
130
+
131
+
For example, let's suppose that your client runs the license server on `http://10.1.1.6:8080` and you want to call `Key.GetKey()`. In this case, we first define all parameters for the request and then
132
+
modify the license server url:
133
+
134
+
```java
135
+
GetKeyModel model =newGetKeyModel(3349, "ICVLD-VVSZR-ZTICT-YKGXL");
136
+
model.LicenseServerUrl="http://10.1.1.6:8080";
137
+
```
138
+
139
+
We do this because there is currently no overload method that accepts `LicenseServerUrl` parameter.
0 commit comments