For people that are new to using Neurotechnology Biometrics, the documentation can be very hard to understand. When it was written, I think the writers should have taken a better approach with examples and explanations in the manual, instead of simply referring to the samples and tutorials.
When you are setting up your application, you must copy all of the files from SDK/Bin/Win32_x86 or SDK/Bin/Win64_x64 into the debug folder or your application. To do this, create the application, then run it. Exit out and then the debug folder will exist. Then, you need to reference all the .dll files found in SDK/Bin/dotNET in Visual Studio (Right click on References, Add References)
Once this is complete, add the following to the top of the application:
- Code: Select all
using Neurotec.Biometrics;
using Neurotec.Biometrics.Client;
using Neurotec.Licensing;
Then, add this line to the main class:
- Code: Select all
const string Components = "Biometrics.FingerExtraction,Biometrics.FingerMatching";
Add all necessary license function to that line.
Next, you need to add the License Information and obtain the license. Add this to the applications main constructor so it runs when the application is initialized:
- Code: Select all
// Fingerprint Client
NLicense.Add(":0000000 ... DF1C78"); // Long line of characters found inside the License file, starts with a :
// Fingerprint Matcher
NLicense.Add(":0000000 ... F31C66"); // Long line of characters found inside the License file, starts with a :
// Obtain license
if (!NLicense.ObtainComponents("/local", 5000, Components))
{
throw new ApplicationException(
string.Format("Could not obtain licenses for components: {0}", Components));
}
And thats it, in a nutshell. In this example, I am assuming you are using Visual Studio with C#... but the basics will apply to just about everything I think.
Hope this helps...