Description
Sets or returns the license key used for this instance of 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.C#
public System.String LicenseKey{ get; set; }vb.net
Public Property LicenseKey() As String
Examples
C#
//--- Return license key
string key = oWordApplication.LicenseKey;
//--- Set license key
oWordApplication.LicenseKey = "XXXXXX-XXXX-XXXX-XXXXXX";
vb.net
'--- Return license key
Dim key As String = oWordApplication.LicenseKey
'--- Set license key
oWordApplication.LicenseKey = "XXXXXX-XXXX-XXXX-XXXXXX"
