The property sets or returns the license key that enables ExcelWriter. The key is stored in the registry. It contains information about ExcelWriter, including product name, platform, and version.

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

For assistance with licensing issues, contact SoftArtisans Technical Services (http://support.softartisans.com\).


          //--- Get LicenseKey
          string version = xla.LicenseKey;

          //--- Set LicenseKey
          xla.LicenseKey = "XXXXXX-XXXX-XXXX-XXXXXX";
        

          '--- Get LicenseKey
          Dim version As String = xla.LicenseKey

          '--- Set LicenseKey
          xla.LicenseKey = "XXXXXX-XXXX-XXXX-XXXXXX"