Document Solutions for Excel, .NET Edition | Document Solutions
Getting Started / License Information
In This Topic
    License Information
    In This Topic

    Types of Licenses

    DsExcel .NET supports the following types of license:

    Unlicensed

    When you download DsExcel for the first time, the product works under No-License i.e Unlicensed mode with a few limitations, that are highlighted below.

    Evaluation License

    DsExcel .NET trial license is available for one month for users to evaluate the product and see how it can help with their comprehensive project requirements.

    In order to evaluate the product, you can contact us.sales@mescius.com and ask for the evaluation license key. The evaluation key is sent to users via email and holds valid for 30 days. After applying the evaluation license successfully, the product can be used without any limitations until the license date expires.

    After the expired date, the following limitations will be triggered:

    Licensed

    DsExcel .NET production license is issued at the time of purchase of the product. If you have production license, you can access all the features of DsExcel .NET without any limitations.

    Apply License

    To apply evaluation/production license in DsExcel .NET, the long string key needs to be copied to the code in one of the following two ways.


    • To license all the workbooks in a project

      C#
      Copy Code
      Workbook.SetLicenseKey(" Your License Key");
    • To license an instance of the workbook

      C#
      Copy Code
      var workbook = new Workbook("Your License Key");


    • To license all the workbooks in a project, add the license key in Startup.cs file by using SetLicenseKey method. This will license all the workbooks even across multiple Controllers. 

      Startup.cs
      Copy Code
      public Startup(IConfiguration configuration)
              {
                  //Apply license before using the API, otherwise it will be considered as no license.
                  Workbook.SetLicenseKey(" Your License Key");
                      
              }
    • To license an instance of the workbook, add the license key when an instance of workbook is created. Add the following code in the Index() method of the controller:

      DsExcelController.cs
      Copy Code
      public IActionResult Index()
              {
                  //Apply license before using the API, otherwise it will be considered as no license.
                  var workbook = new Workbook("Your License Key");
                      
              }