Once you download NCache, Alachisoft Support emails you an installation key. Using this installation key, you can install and then use NCache in evaluation mode, but it is strongly recommended that you activate NCache and run an activated version of NCache in all your environments.
You can use the Register-NCache PowerShell cmdlet with a license key to activate NCache. This license key can be obtained from Alachisoft Sales. NCache allows two modes of activation, both of which are explained below:
The online mode of activation is used when your NCache server has access to the internet. It’s a very simple process. Just follow the steps below:
Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 10 -FirstName John -LastName Smith -Email email@example.com -Company your_company_name
The offline mode of activation is used when your server doesn’t have access to the internet or the outbound traffic from your system is limited due to some security constraints. Follow the steps below to activate your license offline:
Execute the following command in PowerShell to generate your Activation Request Code URL by providing the license key (which you got from Alachisoft Sales on the purchase of NCache) with the Key parameter.
Register-NCache -Key xxxxxxxx-xxxxxx-xxxxxxxx -Environment Production -Clients 10 -FirstName John -LastName Smith -Email firstname.lastname@example.org -Company your_company_name -OfflineActivate
Open the generated Activation Request Code URL on a machine that has internet access. This will open the Activation Verification Page. Verify your information and click Activate!. This will redirect you to a page with the Activation Authorization Code. Copy this code.
Execute the following PowerShell command on the machine where you are trying to activate your NCache license by providing the copied Activation Authorization Code with the AuthCode parameter.
Register-NCache -AuthCode <Activation Authorization Code> -OfflineActivate
On successful activation of NCache, you will be prompted with a success message.
You can verify successful activation of your copy of NCache via the Get-NCacheVersion PowerShell cmdlet on your machine.