Licensed Property


True if the SMIME object can be used (the valid LicenseKey value has been assigned and the trial period is not yet expired, or the registered version is used); otherwise, False.

This property is always set to True when the permanent license key is used. In other case, when the trial license key is used, this property contains True until the trial period is not yet expired.

To determine the license status (the registered version is used, the number of days trial version will function yet) the developer should enable logging on and look into the log file.


Value Type: Boolean
Parameters: None 
Remarks:

This property is read-only.


Usage example:

' This example checks if the SMIME object can be used.

Dim objSMIME

' Using visual basic to the create object
Set objSMIME = CreateObject("MailBee.SMIME")

' Using ASP to create the object
'Set objSMIME = Server.CreateObject("MailBee.SMIME")

' Specify MailBee license key
objSMIME.LicenseKey = "put your license key here"

' Check if the valid license key was specified
If objSMIME.Licensed Then
  ' In ASP use Response.Write instead of MsgBox
  MsgBox "SMIME object is ready for use"
End If

See Also:

LicenseKey Property


Copyright © 2002-2022, AfterLogic Corporation. All rights reserved.