Transferring and deactivating WbW-Pro licenses
Licenses are transferable, if for example you would like to move your node-locked license to a different system. For this, you need to use the whitebox_workflows.transfer_license()
method, which will issue you a new activation key, with the number of days remaining on your license; you may then use the issued key to register WbW-Pro on the other machine. Transferring a license will deactivate the license on the current computer.
wbwpro_transfer_license.py
from whitebox_workflows import transfer_license
transfer_license()
# Note, this function will print out the information that you will need to register the
# license on another computer, including the required activation key. Also note that
# after the license has been transferred, there may be a print out that says something
# like, "The data in the license file appears to be corrupt..." This is simply because
# after transfering the license, WbW can no longer be used on this current machine,
# without registering another license. In fact, if you would like to re-register it
# on the current computer using the issued activation code, that will work fine too.
Similarly, the whitebox_workflows.deactivate_license()
method is used to deactivate a license, although note that this simply removes the license but does not uninstall WbW from your system. To uninstall the software, use pip uninstall whitebox-workflows
. The only reason to deactivate a license is if you no longer want to use WbW-Pro.