ChartDirector 6.2 (.NET Edition)



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


Sets the license code into ChartDirector.

This method is for applying the license code of a ChartDirector Redistribute License to an application. With this method, the license code will be compiled into the application executable and redistributed with the application, and ChartDirector will run in licensed mode when used by the application.

This method only needs to be called once per executable instance. Typically, it is called during program initialization.


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

Return Value

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