Click or drag to resize
ComponentInfoSetLicense Method
Sets the license (serial) key.

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1231
Syntax
public static void SetLicense(
	string serialKey
)

Parameters

serialKey
Type: SystemString
The serial key.
Remarks

You should call this method before using any other class from GemBox.Document assembly.

Key can only be set once (if you try another key, exception will be thrown).

The best place to call this method is from static constructor of your application's main class.

Valid serial key has multiple groups of alphanumeric characters, separated with dashes.

To use the assembly in free limited mode use FREE-LIMITED-KEY as serialKey.

For more information about GemBox.Document evaluation and licensing, see evaluation and licensing.

See Also