Sets or returns the 23-character license key that enables PowerPointWriter for the current instance. This key is stored in the registry and contains information including product name and version number.

 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, PowerPointWriter will use this key and ignore any keys in the registry.

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

          //--- Set LicenseKey
          PowerPointTemplate pptTemplate = new PowerPointTemplate();
          pptTemplate.LicenseKey = "XXXXXX-XXXX-XXXX-XXXXXX";
          pptTemplate.Open("Template.pptx");
        
         '--- Get LicenseKey
          Dim key As String = pptTemplate.LicenseKey

          '--- Set LicenseKey
          Dim pptTemplate As New PowerPointTemplate()
          pptTemplate.LicenseKey = "XXXXXX-XXXX-XXXX-XXXXXX"
          pptTemplate.Open("Template.pptx")