ComponentInfo Class
Contains diagnostic information and licensing members for GemBox.Pdf assembly.
- Inheritance:
- System.ObjectComponentInfo
Properties
Title
Gets the GemBox.Pdf assembly title.
Property Value
- System.String
The GemBox.Pdf assembly title.
Version
Gets the GemBox.Pdf assembly version.
Property Value
- System.String
The GemBox.Pdf assembly version.
Methods
SetLicense(String)
Sets the license (serial) key.
public static void SetLicense(string serialKey)
Public Shared Sub SetLicense(serialKey As String)
Parameters
serialKey
- System.String
The serial key.
Remarks
You should call this method before using any other class from GemBox.Pdf assembly.
Key can only be set once (if you try to set another key, it will be ignored).
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.Pdf evaluation and licensing, see evaluation and licensing.
Events
FreeLimitReached
Occurs when GemBox.Pdf assembly is used with FREE-LIMITED-KEY license key and free limit is reached.
public static event EventHandler<FreeLimitEventArgs> FreeLimitReached
Public Shared Event FreeLimitReached As EventHandler(Of FreeLimitEventArgs)
Event Type
- System.EventHandler<FreeLimitEventArgs>