LicensingProvider

The LicensingProvider web service provides access to the SunSystems Connect licensing system.

The web service supports the Validate, IsComponentAvailable and IsMethodAvailable methods.

Validate

The Validate method is used to validate a license. If the license is valid then the method returns true, otherwise it returns false. If the license parameter is null then the method checks the default licensing of the SunSystems installation and returns true if the installation is licensed to use SunSystems Connect.

boolean Validate(
    string license        //a license voucher can be null
)

IsComponentAvailable

The IsComponentAvailable method returns true if the component parameter contains the name of a SunSystems Connect component that is installed and correctly licensed to be used. Otherwise the method returns false. The rules for the license parameter are the same as for the Validate method.

boolean IsComponentAvailable(
    string license,         //a license voucher can be null
    string component        //a component name
)

IsMethodAvailable

The IsMethodAvailable method returns true if the component parameter contains the name of a SunSystems Connect component that is installed and correctly licensed to be used and the method parameter contains the name of a valid method for that component. Otherwise the method returns false. The rules for the license parameter are the same as for the Validate method.

boolean IsMethodAvailable(
    string license,          //a license voucher can be null
    string component,        //a component name
    string method            //a method name
)