Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

Wiki Markup
{description}
{excerpt}Sets or returns the 23-character license key that enables ExcelWriter for the current instance.

...

Signature
C#C#

{excerpt}
{signature:C#}
 public System.String LicenseKey{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property LicenseKey() As String
Remarks

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.

{signature}
{remarks}
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.
{remarks}
{example}{code:csharp|title=C#}

          //--- Get LicenseKey
          string key = xlt.LicenseKey;

          '--- Set LicenseKey
          xlt.LicenseKey = "XXXXXX-XXXX-XXXX-XXXXXX";
        
{code}
{code:vb.net
|title=vb.net
}

         '--- Get LicenseKey
          Dim key As String = xlt.LicenseKey

          '--- Set LicenseKey
          xlt.LicenseKey = "XXXXXX-XXXX-XXXX-XXXXXX"
        {code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle