ImageGear for .NET
ImGearLicense Class
Members  Example  See Also  Send Feedback
ImageGear20.Core Assembly > ImageGear.Core Namespace : ImGearLicense Class




Glossary Item Box

Manages licensing data (i.e., license type and key).

Object Model

ImGearLicense Class

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Example

C#Copy Code
// Solution Name, Key, and License Key provided by AccuSoft for your deployment.
ImGearLicense.SetSolutionName("YourSolutionName");
ImGearLicense.SetSolutionKey(12345, 12345, 12345, 12345);
ImGearLicense.SetOEMLicenseKey("1.0.AStringForOEMLicensingContactAccusoftSalesForMoreInformation...");
Visual BasicCopy Code
'Solution Name, Key, and License Key provided by Accusoft for your deployment.
ImGearLicense.SetSolutionName("YourSolutionName")
ImGearLicense.SetSolutionKey(12345, 12345, 12345, 12345)
ImGearLicense.SetOEMLicenseKey("1.0.AStringForOEMLicensingContactAccusoftSalesForMoreInformation...")
C#Copy Code
if (IntPtr.Size == 8)
    // 64bit eval and development solution name
    ImGearLicense.SetSolutionName("AccuSoft 5-41-20");
else
    // 32bit eval and development solution name
    ImGearLicense.SetSolutionName("AccuSoft 5-40-20");
Visual BasicCopy Code
If (IntPtr.Size = 8) Then
    '64bit eval and development solution name
    ImGearLicense.SetSolutionName("AccuSoft 5-41-20")
Else
    '32bit eval and development solution name
    ImGearLicense.SetSolutionName("AccuSoft 5-40-20")
End If

Inheritance Hierarchy

System.Object
   ImageGear.Core.ImGearLicense

See Also

©2013. Accusoft Corporation. All Rights Reserved.