LDK API to check if hasplms is running

To know during runtime, if ACC is installed
( to decide to take this settings, or not )

Information can be received with “hasp_get_info” ( Scope=localhost ) and following format “is_embedded_lm”

Format ( get_info )
<?xml version=”1.0″ encoding=”UTF-8″ ?>
<haspformat  root=”hasp_info”>
  <license_manager>
    <element name=”is_embedded_lm” />
    <element name=”hostname” />
    <element name=”ip” />
    <element name=”osname” />
  </license_manager>
</haspformat>

Output ( no ACC ):
<?xml version=”1.0″ encoding=”UTF-8″ ?>
<hasp_info>
  <license_manager>
    <is_embedded_lm>1</is_embedded_lm>   —————————————> 1
    <hostname>VM-SF-LDK7</hostname>
    <ip>127.0.0.1</ip>
    <osname>Microsoft Windows XP</osname>
  </license_manager>
</hasp_info>

Output with active ACC:
<?xml version=”1.0″ encoding=”UTF-8″ ?>
<hasp_info>
  <license_manager>
    <is_embedded_lm>0</is_embedded_lm> —————————————-> 0
    <hostname>VM-SF-LDK7</hostname>
    <ip>127.0.0.1</ip>
    <osname>Microsoft Windows XP</osname>
  </license_manager>
  <license_manager>
    <is_embedded_lm>1</is_embedded_lm>
    <hostname>VM-SF-LDK7</hostname>
    <ip>127.0.0.1</ip>
    <osname>Microsoft Windows XP</osname>
  </license_manager>
</hasp_info>