{description}
{excerpt}Sets or returns the license key used for this instance of [WordApplication|WordApplication]. This property is mainly used for debugging purposes.  For managing your license keys, please use the License Key Manager that is installed with OfficeWriter.{excerpt}
{signature:C#}
 public System.String LicenseKey{ get; set; }
{signature}{signature:vb.net}
Public Property LicenseKey() As String
{signature}
{example}{code:csharp|title=C#}

          //--- Return license key
          string key = oWordApplication.LicenseKey;

          //--- Set license key
          oWordApplication.LicenseKey = "XXXXXX-XXXX-XXXX-XXXXXX";
        {code}
{code:vb.net|title=vb.net}

          '--- Return license key
          Dim key As String = oWordApplication.LicenseKey

          '--- Set license key
          oWordApplication.LicenseKey = "XXXXXX-XXXX-XXXX-XXXXXX"
        {code}

{example}