Hello,
I'm currently working with the Licensing API (Java) and need help trying to figure out how to identify if a Virtual Machine has been copied to a new Host hardware.
After a successful login to the HASP class I call the .getInfo() method using this scope xml:
I and I use the with this xml for format:
I'm currently working with the Licensing API (Java) and need help trying to figure out how to identify if a Virtual Machine has been copied to a new Host hardware.
After a successful login to the HASP class I call the .getInfo() method using this scope xml:
- <haspscope>
- <license_manager hostname="localhost" />
- </haspscope>
I and I use the with this xml for format:
- <haspformat root="hasp_info">
- <feature>
- <attribute name="id" />
- <attribute name="locked" />
- <attribute name="expired" />
- <attribute name="disabled" />
- <attribute name="usable" />
- <attribute name="vmenabled" />
- </feature>
- </haspformat>
- <hasp_info>
- <feature id="0" locked="true" expired="false" disabled="false" usable="true" vmenabled="true" />
- <feature id="12" locked="true" expired="false" disabled="false" usable="true" vmenabled="true" />
- </hasp_info>
This result is returned regardless if I run the application on the
original VM or when I copy the VM to another host and run it there.
I must be able to identify that the host computer has changed, and I
need to know the proper method to identify this change.