Activate NCache License for .NET Core
After downloading NCache, a license key can be obtained from Alachisoft Sales to activate your copy. This activation for NCache .NET Core can be done through through Windows PowerShell.
PowerShell Activation
You can activate your license using PowerShell. NCache allows two activation modes: online and manual.
Launch PowerShell
From a terminal of your choice, launch PowerShell by typing the following command:
> pwsh
A PS
at the start of the new line in your terminal will indicate PowerShell has been launched.
Import NCache PowerShell module to execute NCache tools:
PS > Import-Module /opt/ncache/bin/tools/ncacheps/
Online Activation
Execute the following command, where the license key (you got upon purchasing NCache from Alachisoft) is provided with the
-Key
parameter. Note that the first name, last name and email address are compulsory parameters.- For Client-Server licensing, you need to specify
-Clients
.
Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 10 -FirstName Paul -LastName Jones -Email paul.jones@alachisoft.com -Company Alachisoft
- For Client-Server licensing, you need to specify
On successful activation of license, you are prompted with a success message Thank you for registering your copy of NCache.
Manual Activation
Manual activation requires generating an activation request code and sending it to Alachisoft Sales to receive the activation authentication key from Alachisoft.
Execute the following command to generate the authorization code. This is specified with the
-ManualActivate
parameter. The license key (you got upon purchasing NCache from Alachisoft) is provided with the-Key
parameter.For Client-Server licensing, you need to specify
-Clients
.Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 10 -FirstName Paul -LastName Jones -Email paul.jones@alachisoft.com -Company Alachisoft -ManualActivate
You will be prompted with a long encrypted text on the screen. This is the Activation Request Code.
Copy this code from the screen to obtain the Activation Authentication Key. You can do this two ways:
Method 1: Get Key from Alachisoft Sales
Email this code to Alachisoft Sales at sales@alachisoft.com.
You will receive the Activation Authentication key from Alachisoft Sales. Save this key as it is to be used in the proceeding steps.
Method 2: Get Key via NCache Email Activation
On your web browser, open the following page:
https://app.alachisoft.com/admin/customer_console/main.phpEnter your license key obtained from Alachisoft upon purchase of NCache and click Find.
The next page shows license details and related information. Click on the Activate NCache link.
Paste the Activation Request Code into the text box on this page and click Verify.
This opens up the Activation Data Verification page, which shows Product information, User Information and Machine Information.
Once you have verified that the information is correct, click on the Activate! button at the bottom of the page.
This opens up the Activation Result page, showing the Generated Authentication Key. Save this key as it is to be used in the proceeding steps.
On PowerShell, enter the following command using the generated authentication key against the
-AuthCode
parameter.Register-NCache -AuthCode <authentication_key>
On successful activation, you are prompted with a message Thank you for activating NCache.
See Also
Reactivate License
Deactivate License
Evaluation Period Management