Evaluation period
Evaluation period is 30 days. You don't need to buy anything during trial period.
If you want to use the software after evaluation period is expired, you have to purchase a license.
How to prepare your public key token
Valid license contains public key token of key pair, which you use to sign your
assemblies. Please have your public key token ready before purchasing the license.
We do not need your private key.
Please use SN.EXE (from Visual Studio or from .NET SDK) to extract public key token from
your key pair.
First extract public key from key pair. For example if you key is in
myKeyPair.snk:
sn.exe -q -p myKeyPair.snk publicKey.bin
Then extract public key token from public key:
sn.exe -q -t publicKey.bin > token.txt
You can do it at once with the batch file. Rename
rdtkn.txt --> rdtkn.cmd
Run from Visual Studio command prompt:
rdtkn.cmd c:\aaa\bbb\mykeypair.snk
The token.txt will contain your public key token. For example:
Public key token is 1c80ec8f2465cba8
Please copy/paste the hexadecimal value into Additional Ordering Information field of the purchasing
form.
The sample of the field is shown below.
Capitalization
is not important. Issued license will contain your public key token.
How to apply the purchased license.
The license is delivered in key.bin file. You can change the extension to .txt and open the file in Notepad.
The license is a single string of ASCI text, that must be passed to MyNlpLicense as parameter.
Your .NET assembly, which calls Nlp4Net, can provide a valid license through MyNlpLicesnse attribute.
- Apply MyNlpLicense("your license here") attribute in
AssemblyInfo file.
- Sign the assembly with your strong name key pair.
You can find a commented sample of MyNlpLicense in NlpSamples project in AssemblyInfo.cs.
The project is available on the download page.
More information.
NLP for .NET validates the license by comparing the
public token of signed assembly with
the token in the MyNlpLicesnse attribute. It assures that only license owner can use
the product.
License verification doesn't require network connection.
Here is the example in C# showing how to apply MyNlpLicesnse attribute in
AssemblyInfo.cs:
using System.Reflection;
using System.Runtime.CompilerServices;
using Nlp4Net.NlpLib;
[assembly: MyNlpLicense("<oneaiway product=\"nlp4net\" version=\"en1.1\" id=..."]
Please add the escape backslash before quotes
character in the license text. (E.g. replace ["] --> [\"] ). Except that, please do not modify the license string.