MailBee.NET Objects  

Using License Keys

Trial license key

During downloading MailBee.NET Objects package, you can get a trial license key which allows you to evaluate MailBee.NET Objects in fully-functional mode for a period of 30 days. You can also get the trial key using Trial Key Request form.

Permanent license key

When you purchase a license for MailBee.NET Objects library or any individual part of this library (such as MailBee.NET POP3), you receive a permanent license key which allows you to use the licensed components for an unlimited period of time.

Note   There are no trial or permanent versions of MailBee.NET Objects library. Single version of the package is used in both trial and permanent mode. The status of whether the library is working in trial or permanent mode is fully controlled by the license key.

Assigning the license key

The license key (either trial or permanent) needs to be specified either in the config file (such as app.config, web.config, machine.config) or in the static (Shared in Visual Basic) property LicenseKey of the component you're going to use (such as Smtp, Pop3, Imap or Security). Setting the license key in the config file is the preferred method.

  1. Setting the license key in the config file (app.config, web.config, machine.config):
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    	<appSettings>
    		<!-- License key for Pop3, Imap, and Smtp components -->
    		<!-- Note that MN100-0123456789ABCDEF-0123 is not a real key. Use your key instead. -->
    		<add key="MailBee.Pop3Mail.Pop3.LicenseKey" value="MN100-0123456789ABCDEF-0123"/>
    		<add key="MailBee.ImapMail.Imap.LicenseKey" value="MN100-0123456789ABCDEF-0123"/>
    		<add key="MailBee.SmtpMail.Smtp.LicenseKey" value="MN100-0123456789ABCDEF-0123"/>
    		<add key="MailBee.Security.Powerup.LicenseKey" value="MN100-0123456789ABCDEF-0123"/>
    		<add key="MailBee.AntiSpam.BayesFilter.LicenseKey" value="MN100-0123456789ABCDEF-0123"/>
    	</appSettings>
    </configuration>
    Note   You should NOT attempt to specify the license key in appname.exe.config file created by Visual Studio in Debug or Release folder of the project. Visual Studio overwrites this file during rebuilding the project.
  2. Setting the license key using LicenseKey property (you should set this property before creating any instances of the licensed component):
    MailBee.Pop3Mail.Pop3.LicenseKey = "MN100-0123456789ABCDEF-0123";
    MailBee.ImapMail.Imap.LicenseKey = "MN100-0123456789ABCDEF-0123";
    MailBee.SmtpMail.Smtp.LicenseKey = "MN100-0123456789ABCDEF-0123";
    MailBee.Security.Powerup.LicenseKey = "MN100-0123456789ABCDEF-0123";
    MailBee.AntiSpam.BayesFilter.LicenseKey = "MN100-0123456789ABCDEF-0123";
  3. Placing the license key into Windows registry.

    To put the license key into the registry, you can use SaveKey or SaveKeyGui utilities which are located in MailBee.NET Objects installation folder. You can quickly start SaveKeyGui utility by clicking "Save license key to registry" item in MailBee.NET Objects group of Start/Programs menu.

    SaveKeyGui provides friendly interface to the user while SaveKey console application is intended to be used by installation programs. If you need to put the license key into Windows registry programmatically, call SaveKey utility with parameters. To learn how to use this utility, run it in a command-line not specifying any parameters.

    SaveKeyGui utility also has option to put the license key in machine.config file (although it's not recommended to use this option since the machine.config file will be reformatted).

 


Send feedback to AfterLogic

Copyright © 2006-2008 AfterLogic Corporation. All rights reserved.