Sets or returns the 23-character license key that enables ExcelWriter for the current instance.

 public System.String LicenseKey{ get; set; }
Public Property LicenseKey() As String

This key does not persist once the code completes execution. If this property is set, ExcelWriter will use this key and ignore any keys in the registry.


          string key = xlt.LicenseKey;

          //--- Bind the license key to the data marker
          //--- %%=$ExcelWriterLicenseKey.
          xlt.SetCellDataSource(key, "ExcelWriterLicenseKey");
        

          Dim key As String = xlt.LicenseKey

          '--- Bind the license key to the data marker
          '--- %%=$ExcelWriterLicenseKey
          xlt.SetCellDataSource(key, "ExcelWriterLicenseKey")