Class SoLicenseProperty

  • All Implemented Interfaces:

    public class SoLicenseProperty
    extends Inventor
    implements SafeDisposable
    Class providing information about a licensed product. This class provides information about a product license, such as the product version or expiration date of the license.
    • Constructor Detail

      • SoLicenseProperty

        public SoLicenseProperty()
    • Method Detail

      • dispose

        public boolean dispose()
        Description copied from class: Inventor
        Explicitly call this method to force object to dispose its unmanaged resources. The object may not be reused in the application code after this call.
        Specified by:
        dispose in interface SafeDisposable
        dispose in class Inventor
        true if this object native resources were successfully disposed; false if it was already disposed or no native resources has been registered for this object.
      • isMasterPassword

        public boolean isMasterPassword()
        Returns true if the license is a master password.
      • getProductVersion

        public java.lang.String getProductVersion()
        Returns the version of the product for this license.
      • getProductName

        public java.lang.String getProductName()
        Returns the name of the product for this license.
      • getCheckSum

        public java.lang.String getCheckSum()
        Returns the checksum of this license.
      • getDaysToExpire

        public int getDaysToExpire()
        Gets number of days before expiration for the given product version. Returns : 0 if license has expired or never expires >0 if license has not expired -1 if license is invalid
      • getHostID

        public java.lang.String getHostID()
        Returns the HostID for this license.
      • getInfo

        public java.lang.String getInfo()
        Returns the info for this license.
      • getExpirationDate

        public java.lang.String getExpirationDate()
        Returns the expire date of the product for this license.
      • isExpired

        public boolean isExpired()
        Returns true if the product is expired.
      • getNumUsers

        public java.lang.String getNumUsers()
        Returns the number of users of the product for this license.