Welcome to the Xceed Community | Help
Community Search  
More Search Options

How do I license my component?

Sort Posts: Previous Next
  •  10-08-2008, 9:12 AM Post no. 28218

    How do I license my component?

    .NET PRODUCTS

    If you have purchased a registered license key, here is how the licensing process works:

    - Receive your registered license key at the email address used during the purchase.

    - Set the Licenser.LicenseKey property with this license key. See the LicenseKey property section below for details.

    - Compile your application and deploy it.

    If you do not have a registered license key, please contact Xceed at 1-800-865-2626, ext. 228, or send an email to sales@xceedsoft.com to purchase a license or to have your license key resent to you if you have lost it.

    LicenseKey property

    The LicenseKey property of the Licenser class must be set with a valid license key, before any other method of your Xceed component is called. If you use an invalid or expired license key, fail to license the control with a registered license key after the trial period, or license it in the wrong place in your code, an exception will be thrown at runtime.

    We recommend that you set the LicenseKey property in the main entry point of the application. For example, C# users can set the LicenseKey property in the static main function. VB.NET users can set the LicenseKey property in the constructor of the main form or in the "Sub Main" procedure.

    If no entry point is available, it is recommended that you set the LicenseKey property in a static constructor of a class that will be accessed systematically before any of the library's classes are instantiated or, you can simply set the LicenseKey property immediately BEFORE you instantiate a class.

    Special Considerations for Xceed DataGrid for WPF

    The LicenseKey property of the Licenser class must be set with a valid Express or Professional Edition license key, before any other method of your Xceed component is called. If you use an invalid license key, expired trial key, or license it in the wrong place in your code, an exception will be thrown at runtime.

    It is recommended that the LicenseKey property be set in one of the following locations:

     Location  Description
     Application.OnStartup method override  Preferred location.
     Windows.Loaded or Page.Loaded events  The LicenseKey property can be set in this event as long as the startup page or window is knonw and invariable.

    ACTIVEX PRODUCTS

    In order for the library to work at runtime, the first thing you must do before calling any of the library's functions is to call the License method and provide it with your trial or registered license key.

    Your trial or registered license key can be obtained by running the 'Xceed Component Licenser' application which can be run from the Start Menu by selecting the Program files -> Xceed Components -> Xceed Component Licenser item.

    If you have purchased a registered license of the product, you should provide your registered license key to the Xceed Component Licenser in order to replace the automatically generated free trial license key.

    xceedProduct.License( "your_license_key" )

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.