License Registration
When you buy a commercial version of Barcode Professional you are provided with license information to register your licensed copy of Neodynamic Barcode Professional for ASP.NET.
The registration process is very simple and can be accomplished in two ways:
Codeless License Setting
Codeless License Setting involves adding the license info in the Application's Configuration file (web.config). The license info must be specified in the BarcodeProAspNet90LicenseOwner and BarcodeProAspNet90LicenseKey entries in the <appSettings> section of *.config file. Example:
<configuration>
<appSettings>
<add key="BarcodeProAspNet90LicenseOwner" value="LICENSE-OWNER"/>
<add key="BarcodeProAspNet90LicenseKey" value="LICENSE-KEY"/>
</appSettings>
...
</configuration>
Using License Properties in code
In the class you're using BarcodeProfessional, set the LicenseOwner and LicenseKey static (shared in VB) properties with the license info you've received.
IMPORTANT: Please, keep in mind that the license info is case-sensitive!
' ASP.NET SAMPLE
Imports Neodynamic.WebControls.BarcodeProfessional
Partial Class Default
Inherits System.Web.UI.Page
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
BarcodeProfessional.LicenseOwner = "LICENSE-OWNER"
BarcodeProfessional.LicenseKey = "LICENSE-KEY"
End Sub
End Class
// ASP.NET SAMPLE
using Neodynamic.WebControls.BarcodeProfessional;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
BarcodeProfessional.LicenseOwner = "LICENSE-OWNER";
BarcodeProfessional.LicenseKey = "LICENSE-KEY";
}
}
After you set these properties the TRIAL legend should disappear from the generated image.