If you are evaluating the product, please select the ImageGear evaluation license option from the initial screen of the License Manager utility and click next. Your Evaluation license key will be obtained and stored on your computer. An Evaluation license enables you to use all features of the product on your machine with the limitation of a trial dialog or watermark.
![]() |
The License Manager utility stores license key in the registry of the host machine. The ImageGear for Silverlight product is designed to communicate to the specified Licensing Web Service to obtain the license key from the host's registry. The product samples are configured to work with the preinstalled Licensing Web Service and set its URL using ImGearLicense.SetService Method API. |
When you evaluate the product, you have to start with a call to EvaluationManager.Initialize() method that is provided by the ImageGear.Evaluation Namespace. This method initializes the manager class required for evaluation.
The Evaluation Manager can be used in two modes: Trial Dialog and Watermarks. In Trial Dialog mode, enabled by default, the product displays a trial dialog at regular time intervals. In Watermarks mode, the product displays, prints, and saves watermarks along with the image.
![]() |
The ImageGear for Silverlight evaluation requires the application's RootVisual to be set to the application's main Page element prior to the other licensing calls. |
Once the evaluation manager is initialized and the application's RootVisual is set, you have to call the ImGearLicense.SetService Method that is provided by the ImageGear.Core Namespace. This method takes one parameter pointing to the Licensing Web Service URL.
The next call should be the SetSolutionName Method of the same ImGearLicense Class. While you are evaluating the ImageGear product, you should specify the value "AccuSoft 5-44-20" on the SetSolutionName Method call.
C# | ![]() |
---|---|
ImageGear.Evaluation.EvaluationManager.Initialize(); Application.Current.RootVisual = rootVisual; 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"); |
VB .NET | ![]() |
---|---|
ImageGear.Evaluation.EvaluationManager.Initialize() Application.Current.RootVisual = rootVisual 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") |