ChartDirector 5.1 (.NET Edition)

Chart.setLicenseCode


Usage

[VB] Public Shared Function setLicenseCode(licCode As String) As String
[C#] public static string setLicenseCode(string licCode);

Description

Sets the license code into ChartDirector.

ChartDirector will automatically get it's license code from the file "chartdir.lic".

If for some reason, you do not want to use the "chartdir.lic" file (eg. you want to embed ChartDirector with your application, but you do not want people to see the "chartdir.lic" file), you may use the setLicenseCode method to hard code the license code into your source code.

If ChartDirector is run without any license code, it will run in evaluation mode.

Arguments

ArgumentDefaultDescription
licCode(Mandatory)A text string containing the license code.

Return Value

The error message, or an empty string if no error.