Caution
You need to set the license key:
only once per application domain (e.g. NOT for every page hit)
before using any other DocumentUltimate classes
For all licensing options, please see DocumentUltimate Pricing. For End User License Agreement, please see DocumentUltimate EULA.
The evaluation version is the same as the purchased one – the trial version simply becomes licensed when you apply the license key.
DocumentUltimate will run in trial mode if you don't set a valid license key. The trial is only time-limited and not feature-limited, i.e. none of the features are restricted during trial. When the trial ends after 30 days, the generated documents will be watermarked with a "DocumentUltimate" overlay text.
After purchase, you need to apply the license key. This section describes options of how this can be done, and also comments on some common questions.
Select a sub-section:
Set your license key in appsettings.json file:
{
"DocumentUltimate:LicenseKey": "YOUR_LICENSE_KEY_HERE"
}
//
Alternatively you can set your license key in code, in Configure method of your Startup.cs after app.UseGleamTech call:
//----------------------
//Register GleamTech to the ASP.NET Core HTTP request pipeline.
app.UseGleamTech(() =>
{
DocumentUltimateConfiguration.Current.LicenseKey = "YOUR_LICENSE_KEY_HERE";
});
//--------------------
Set your license key in <appSettings> tag of your Web.config:
<appSettings>
<add key="DocumentUltimate:LicenseKey" value="YOUR_LICENSE_KEY_HERE" />
</appSettings>
Alternatively you can set your license key in code, in Application_Start method of your Global.asax.cs:
protected void Application_Start(object sender, EventArgs e)
{
DocumentUltimateConfiguration.Current.LicenseKey = "YOUR_LICENSE_KEY_HERE";
}
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
DocumentUltimateConfiguration.Current.LicenseKey = "YOUR_LICENSE_KEY_HERE"
End Sub
Set your license key in a static (Shared in VB) method, e.g. in Main method for a Console project:
static void Main(string[] args)
{
DocumentUltimateConfiguration.Current.LicenseKey = "YOUR_LICENSE_KEY_HERE";
}
Shared Sub Main(args As String())
DocumentUltimateConfiguration.Current.LicenseKey = "YOUR_LICENSE_KEY_HERE"
End Sub