GdPicture.NET.14.API
GdPicture14 Namespace / LicenseManager Class
Members Example





In This Topic
LicenseManager Class
In This Topic
The LicenseManager class unlocks the GdPicture.NET toolkit with a purchased commercial key or a provided demo key to allow you to develop your application. You can also determine the currently used version of the toolkit using this class.
Syntax
'Declaration
 
Public NotInheritable Class LicenseManager 
public sealed class LicenseManager 
public class LicenseManager sealed; 
public sealed class LicenseManager 
public __gc __sealed class LicenseManager 
public ref class LicenseManager sealed 
Remarks
Please follow the detailed instructions on the activation process here.
Example
How to unlock your GdPicture.NET toolkit.
Dim oLicenseManager As New GdPicture14.LicenseManager()
'Unlocking the core license.
Dim registration As Boolean = oLicenseManager.RegisterKEY("LICENSE_KEY")
If (registration) Then
    MessageBox.Show("The toolkit has been successfully unlocked.", "LicenseManager")
Else
    MessageBox.Show("The toolkit has NOT been unlocked.", "LicenseManager")
End If
GdPicture14.LicenseManager oLicenseManager = new GdPicture14.LicenseManager();
//Unlocking the core license.
bool registration = oLicenseManager.RegisterKEY("LICENSE_KEY");
if (registration)
    MessageBox.Show("The toolkit has been successfully unlocked.", "LicenseManager");
else
    MessageBox.Show("The toolkit has NOT been unlocked.", "LicenseManager");
Inheritance Hierarchy

System.Object
   GdPicture14.LicenseManager

See Also