GdPicture.NET.14
GdPicture14 Namespace / LicenseManager Class / GetVersion Method
Example





In This Topic
GetVersion Method (LicenseManager)
In This Topic
Returns the version number of the GdPicture.NET toolkit source code you are currently using. The version number format is M.mrr where 'M' describes the major version number, 'm' stands for the medium version number and 'rr' is the release number.

Please always check our version history page to ensure you are using the latest release.

Syntax
'Declaration
 
Public Function GetVersion() As Double
public double GetVersion()
public function GetVersion(): Double; 
public function GetVersion() : double;
public: double GetVersion(); 
public:
double GetVersion(); 

Return Value

The version number of the GdPicture.NET toolkit core you are currently using.
Remarks
Please always ensure that you are using the latest release of the toolkit by checking our version history page.
Example
How to find out the currently used version of the toolkit.
Dim oLicenseManager As New GdPicture14.LicenseManager()
'Unlocking the core license.
Dim registration As Boolean = oLicenseManager.RegisterKEY("MY_GDPICTURENET_KEY")
If (registration) Then
    MessageBox.Show("The toolkit has been successfully unlocked.\nThe curently used version is: " + oLicenseManager.GetVersion(), "LicenseManager.GetVersion")
Else
    MessageBox.Show("The toolkit has NOT been unlocked.", "LicenseManager.GetVersion")
End If
GdPicture14.LicenseManager oLicenseManager = new GdPicture14.LicenseManager();
//Unlocking the core license.
bool registration = oLicenseManager.RegisterKEY("MY_GDPICTURENET_KEY");
if (registration)
    MessageBox.Show("The toolkit has been successfully unlocked.\nThe curently used version is: " + oLicenseManager.GetVersion(), "LicenseManager.GetVersion");
else
    MessageBox.Show("The toolkit has NOT been unlocked.", "LicenseManager.GetVersion");
Requirements

See Also