Hello? Currently developing using Bentley SDK in Python-based closed network. How do I validate my license on a closed network? The license file is installed internally. Which function should I use to verify the license? Is there any other way?
# -------------------------------------------------------------------- # start script # -------------------------------------------------------------------- import sys, os, time import ccmasterkernel as CCMasterKernelPy print('MasterKernel version %s' % CCMasterKernelPy.version()) print('') if not CCMasterKernelPy.isLicenseValid(): print("License error: ", CCMasterKernelPy.lastLicenseErrorMsg()) sys.exit(0)
Other option would be to use "C:\Program Files\Common Files\Bentley Shared\CONNECTION Client\LicService\Bentley.Licensing.LicenseTool.exe" but seems it no longer has CMD interface.
Thank you for your answer.. ^^ I'll try, maybe I'll ask you again. Thank you again.