ImageGear for Silverlight
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.SetOEMLicenseKey("1.0.AStringForOEMLicensingContactAccusoftSalesForMoreInformation...");
// Set Solution Name after OEM License Key to avoid connection attempts to licensing service.
ImGearLicense.SetSolutionName("YourSolutionName");
ImGearLicense.SetSolutionKey(12345, 12345, 12345, 12345);
Visual BasicCopy Code
' License Key, Solution Name, and Key provided by AccuSoft for your deployment.
ImGearLicense.SetOEMLicenseKey("1.0.AStringForOEMLicensingContactAccusoftSalesForMoreInformation...")
' Set Solution Name after OEM License Key to avoid connection attempts to licensing service.
ImGearLicense.SetSolutionName("YourSolutionName")
ImGearLicense.SetSolutionKey(12345, 12345, 12345, 12345)
C#Copy Code
string webServiceUrl = string.Format("http://{0}/{1}",
    App.Current.Host.Source.DnsSafeHost,
    "ImageGearSilverlight20_WebService/SilverlightWebService.svc");
ImGearLicense.SetService(webServiceUrl);
ImGearLicense.SetSolutionName("AccuSoft 5-44-20");
Visual BasicCopy Code
Dim webServiceUrl As String = String.Format("http://{0}/{1}", _
              App.Current.Host.Source.DnsSafeHost, _
              "ImageGearSilverlight20_WebService/SilverlightWebService.svc")
ImGearLicense.SetService(webServiceUrl)
ImGearLicense.SetSolutionName("AccuSoft 5-44-20")

Inheritance Hierarchy

System.Object
   ImageGear.Core.ImGearLicense

See Also

©2013. Accusoft Corporation. All Rights Reserved.