Hello.
I purchased Ncryptoki a Site License last week.
I read wiki- How to install the license and wrote as follows :
Cryptoki.Licensee = "Licensee"; //I wrote the correct value what I purchased. Cryptoki.ProductKey = "Product Key"; //I wrote the correct value what I purchased.
But I could not set the license and product key that you sent by email.
Whether I wrote the key or not on my code, I got the same message – “This version of NCryptoki is not licensed. You can use it only for trial and demo pourpose….”.
I already sent email about a License code problem to 'techy@cryptware.it''.
I really appreciate if you give me some advices so that I solve the problem.
And here is my test code below :
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms;
using Cryptware.NCryptoki;
namespace hsm_test { public partial class Form1 : Form { public Form1() { InitializeComponent();
start(); }
private void start() { Cryptoki.Licensee = "Licensee"; //I wrote the correct value what I purchased. Cryptoki.ProductKey = "Product Key"; //I wrote the correct value what I purchased.
// Creates a Cryptoki object related to the specific PKCS#11 native library Cryptoki cryptoki = new Cryptoki("cryptoki.dll");
// Prints all information relating to the native library //CryptokiInfo info = cryptoki.Info;
// Reads the set of slots containing a token /*SlotList slots = cryptoki.Slots; if (slots.Count == 0) { Console.WriteLine("No slot available"); return; }
// Gets the first slot available Slot slot = slots[0];*/
} } }
Your email was in the spam folder :(
Let me check your license codes and I'll let you know by email