Caution
You need to set the license key:
only once per application domain (e.g. NOT for every page hit)
before using any other FileUltimate classes
For all licensing options, please see FileUltimate Pricing. For End User License Agreement, please see FileUltimate EULA.
The evaluation version is the same as the purchased one – the trial version simply becomes licensed when you apply the license key.
FileUltimate 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, "unregistered" label will be displayed at the top right of the component.
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:
{
"FileUltimate: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(() =>
{
FileUltimateConfiguration.Current.LicenseKey = "YOUR_LICENSE_KEY_HERE";
});
//----------------------
Set your license key in <appSettings> tag of your Web.config:
<appSettings>
<add key="FileUltimate: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)
{
FileUltimateConfiguration.Current.LicenseKey = "YOUR_LICENSE_KEY_HERE";
}
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
FileUltimateConfiguration.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)
{
FileUltimateConfiguration.Current.LicenseKey = "YOUR_LICENSE_KEY_HERE";
}
Shared Sub Main(args As String())
FileUltimateConfiguration.Current.LicenseKey = "YOUR_LICENSE_KEY_HERE"
End Sub