Powerup Constructor (String)
Creates and unlocks an instance of Powerup class.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public Powerup(
	string licenseKey
)

Parameters

licenseKey
Type: SystemString
The license key. Can be a null reference (Nothing in Visual Basic) in case if the product is already unlocked (the license key was specified in app.config, web.config, Windows registry, or in MailBee.Global.LicenseKey property).
Exceptions
ExceptionCondition
MailBeeLicenseExceptionMailBee.NET Security Powerup not licensed and the supplied license key is invalid.
Remarks
This class on its own does not have any useful features. It mainly supports the licensing infrastructure. For instance, it lets you check how many days you still have in trial mode.
Note Note
You can avoid using Powerup class and unlock Smime and Impersonationclasses in Security namespace directly, by supplying the license key right in their constructor. See Smime(String) and Impersonation(String) constructors.
See Also