MailBee.NET Objects 7.1

Powerup.LicenseKey Property

NOTE: This property is now obsolete.

This property is obsolete. Use MailBee.Global.LicenseKey instead.


Assigns the license key.

[Obsolete(Message="This property is obsolete. Use MailBee.Global.LicenseKey instead.", IsError=False)]
public static string LicenseKey {get; set;}

Property Value

A string value which contains the license key which unlocks Security Powerup. This property is write-only.

Remarks

You can unlock Security Powerup by either setting this property to the valid permanent or trial license key or by adding MailBee.Security.Powerup.LicenseKey key in app.config, web.config, or machine.config file.

This property is static (Shared in Visual Basic). If not set in the config file, this property must be set before any method or property or constructor which may check it gets called.

This property is obsolete. Use MailBee.Global.LicenseKey instead.

Exceptions

Exception TypeCondition
MailBeeLicenseExceptionThe license key is invalid.

See Also

Powerup Class | MailBee.Security Namespace