The ProductLicense Object

PreviousNext

Embed license management into your application.

(c) 2011 Hermetech International Ltd.

The ProductLicense object gives you the ability to activate your EasyHL7 Managed Code objects from code in your application. Since the objects must have a valid license file for each unique computer that they are installed on (see What's New) this can be quite the time saver. You can also manage whether your objects function in a time-restricted DEMO mode, an unrestricted RUNTIME mode or as a full-access DEVELOPMENT mode.

 

ProductLicense objects can only be created by HL7Vendor Objects (see the NewProductLicense method).

 

For more info see: Properties, Methods, License Files, License Manager

 

 

Object Creation:

 

Dim oLicense As EasyHL7MC40.ProductLicense

Private oLicense As EasyHL7MC40.ProductLicense

Public oLicense As EasyHL7MC40.ProductLicense

Friend oLicense As EasyHL7MC40.ProductLicense

 

Then Instantiate the Object like so:

'Where oVendor is a valid HL7Vendor object

oLicense = oVendor.NewProductLicense()

 

 

DO NOT DO THIS:

 

Dim oLicense As New EasyHL7MC40.ProductLicense

Private oLicense As New EasyHL7MC40.ProductLicense

Public oLicense As New EasyHL7MC40.ProductLicense

Friend oLicense As New EasyHL7MC40.ProductLicense