Skip to content

Commit dbca8f7

Browse files
committed
Update README.md
1 parent 75a9d3e commit dbca8f7

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ from cryptolens_python2 import *
3131

3232
If you create a plugin for Autodesk Revit or use IronPython 2.7.3 or earlier, please also add the line below right after the import:
3333

34-
```
34+
```python
3535
HelperMethods.ironpython2730_legacy = True
3636
```
3737

@@ -205,7 +205,28 @@ else:
205205

206206
To forward requests to a local license server or a different API, you can set it using the `server_address` in HelperMethods, i.e.,
207207

208-
```
208+
```python
209209
HelperMethods.server_address = "http://localhost:8080/";
210210
```
211211
It is important to include one */* in the end of the address, as shown above.
212+
213+
### Other settings
214+
215+
#### Proxy
216+
217+
If you have customers who want to use a proxy server, we recommend enabling the following setting before calling any other API method, such as Key.Activate.
218+
219+
```python
220+
HelperMethods.proxy_experimental = True
221+
```
222+
223+
This will ensure that the underlying HTTP library (urllib) used by Cryptolens Python SDK will use the proxy configured on the OS level. The goal is to make this default behaviour in future versions of the library, once enough feedback is collected.
224+
225+
#### SSL verification
226+
SSL verification can temporarily be disabled by adding the line below before any call to Key.Activate.
227+
228+
```python
229+
HelperMethods.verify_SSL = False
230+
```
231+
232+
The Cryptolens Python SDK will verify that the license information has not changed since it left the server using your RSA Public Key. However, we recommend to keep this value unchanged.

0 commit comments

Comments
 (0)