Click or drag to resize
SpreadsheetInfoSetLicense Method
Call this method from your application to set GemBox.Spreadsheet serial key.

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

Parameters

serialKey
Type: SystemString
Serial key.
Remarks

You should call this method before using any other class from GemBox.Spreadsheet library. Key can only be set once (if you try second 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.

Free version serial key is: FREE-LIMITED-KEY.

See Also