Page 5 of 14

Re: Activation and Licensing questions

PostPosted: Feb 06, 2012 13:03
by Martynas
kzlink wrote:please how can i purchase a single computer serial key for verifinger.
i went in through 'ActivationWizardDotNet.exe'
urgent reply needed please

Hello,

additional VeriFinger licenses can be purchased on our website. You should have an SDK Reference ID, which is given to customers who has purchased SDK, to be able to purchase additional licenses.

verifinger sdk

PostPosted: Feb 19, 2012 13:54
by maddy
hi, i ve developed a finger recognition application in vb using the trial veriFinger standard sdk...unfortunately,it happened to uninstall the trial sdk from my system..when i downloaded the new version of veriFinger sdk and run the project, its showing some of the functions become obsolete..plz help me out..can i get the previous version of veriFinger standard sdk's.?.. or is there any other means to make my application run in the current version of veriFinger?



thank you :)

Admin: merged to "Activation and Licensing questions "

Re: verifinger sdk

PostPosted: Feb 20, 2012 09:46
by Martynas
maddy wrote:hi, i ve developed a finger recognition application in vb using the trial veriFinger standard sdk...unfortunately,it happened to uninstall the trial sdk from my system..when i downloaded the new version of veriFinger sdk and run the project, its showing some of the functions become obsolete..plz help me out..can i get the previous version of veriFinger standard sdk's.?.. or is there any other means to make my application run in the current version of veriFinger?

thank you :)

Hi,

could you specify, which version of the VeriFinger SDK you have used previously? Maybe you still have somewhere the downloaded archive?

move licensing to another pc

PostPosted: Feb 22, 2012 03:04
by obenk25
dear all,

wanna ask about licensing, i have replaced my pc on my department, can i use the old license on my new pc? if can, how to make it work?

thanks

Re: move licensing to another pc

PostPosted: Feb 22, 2012 09:42
by vaidasz
obenk25 wrote:dear all,

wanna ask about licensing, i have replaced my pc on my department, can i use the old license on my new pc? if can, how to make it work?

thanks


Hello,

Yes, you can use license on new computer. But you have to make some steps to be abel to activate licenses on new computer. In such case please contact support@neurotechnology.com (as I see you have contacted).

Activation and Licensing questions

PostPosted: Mar 07, 2012 09:06
by fotang
Error trying to activate a megamatcher client license on a Windows
tablet, I get the following error, both from web upload, and from
online activation:
Code: Select all
Server error FF
Product not registered. Please contact Neurotechnology
(support@neurotechnology.com) or your distributor for more
information.

A notification about this error has been automatically sent to Neurotechnology.

Re: Activation and Licensing questions

PostPosted: Mar 07, 2012 11:40
by Martynas
fotang wrote:Error trying to activate a megamatcher client license on a Windows
tablet, I get the following error, both from web upload, and from
online activation:
Code: Select all
Server error FF
Product not registered. Please contact Neurotechnology
(support@neurotechnology.com) or your distributor for more
information.

A notification about this error has been automatically sent to Neurotechnology.

Hello,

please send your serial number and hardware ids to support@neurotechnology.com.

Fingerprint Client Concurrent network licenses

PostPosted: Mar 09, 2012 07:37
by JeongSeon Choi
Hi,

I am first time using neurotechnology's products

please, let me know how to programming using Fingerprint Client Concurrent network licenses

1. How to install Fingerprint Client Concurrent network licenses to license manage server

2. How to obtain and release a license from Fingerprint Client Concurrent network licenses server in program example



Thanks

Admin: merged to "Activation and Licensing questions"

Re: Fingerprint Client Concurrent network licenses

PostPosted: Mar 09, 2012 12:50
by Martynas
Hello,
JeongSeon Choi wrote:How to install Fingerprint Client Concurrent network licenses to license manage server

if you have received the concurrent license as serial number then the activation process is this:

1. Activate the serial number and save the license file to Activation folder.
2. Edit the pgd.conf file like below:
Code: Select all
   mode = server
   LicenseFile=path_concurrent_license_file

3. Restart the Neurotechnology licensing service.

If you have received the concurrent license on dongle then the activation process is this:

1. Connect the dongle to computer.
2. Edit the pgd.conf file like below:
Code: Select all
   mode = server

3. Restart the Neurotechnology licensing service.

JeongSeon Choi wrote:How to obtain and release a license from Fingerprint Client Concurrent network licenses server in program example


License is obtained by using NLicenseObtainComponents function.
License is released by using NLicenseReleaseComponents function.

When the concurrent license is sued it is important to release the license as soon as it is possible. then it becomes available for other computers.
i.e. if you are doing scanning and extraction then the flow should be like one below.

1. Obtain the license
a. as the license can be obtained by other computer it is recommended to try obtain the license in the loop until it is obtained.
2. Initialize NDeviceManager
3. Release the license
4. Scan fingerprint
5. If the image was scanned, then obtain the license
a. as the license can be obtained by other computer it is recommended to try obtain the license in the loop until it is obtained.
6. Extract template
7. Release license.

Re: Fingerprint Client Concurrent network licenses

PostPosted: Mar 12, 2012 04:25
by JeongSeon Choi
thank you very much..!!

I will try as you taught me.

WSQ image

PostPosted: Mar 20, 2012 17:25
by dhernandezs
Hi,
I have a big problem trying to generate WSQ into ByteBuffer.

Code: Select all
...
if (!NLicense.obtainComponents("/local", 5000, "Biometrics.FingerExtraction")){
...
bBIHWsq=imagenHuellaGray.save(NImageFormat.Wsq);
...


Java console
Code: Select all
com.neurotec.lang.NotActivatedException: Operation is not activated
   at com.neurotec.lang.RuntimeErrorCreator.create(RuntimeErrorCreator.java:55)
   at com.neurotec.lang.ChainedErrorCreator.create(ChainedErrorCreator.java:16)
   at com.neurotec.lang.NError.get(NError.java:166)
   at com.neurotec.lang.NError.get(NError.java:177)
   at com.neurotec.lang.NError.getLast(NError.java:182)
   at com.neurotec.lang.NResult.checkUnchecked(NResult.java:225)
   at com.neurotec.lang.NResult.raiseError(NResult.java:281)
   at com.neurotec.lang.NResult.check(NResult.java:219)
   at com.neurotec.images.NImage.save(NImage.java:995)
   at com.neurotec.images.NImage.save(NImage.java:982)
   at sre.sepm.dispositivos.escanercamaplana.regiones.RegionHuella.obtenerImagenBase64(RegionHuella.java:122)
   at sre.sepm.dispositivos.escanercamaplana.auto.principal.ComunicacionConJavaScript.actualizarImagenHuellaDeFormatoOP5EnJsp(ComunicacionConJavaScript.java:104)
   at sre.sepm.dispositivos.escanercamaplana.auto.principal.Programa.terminaProcesamiento(Programa.java:291)
   at sre.sepm.dispositivos.escanercamaplana.auto.principal.ManejadorDeEventos.reportarFinDeActividades(ManejadorDeEventos.java:68)
   at sre.sepm.dispositivos.escanercamaplana.auto.principal.FormatoOP5.run(FormatoOP5.java:180)
   at java.lang.Thread.run(Unknown Source


It's an applet.
Java version 1.6
IE8
Neuro 4.2 SDK - Single PC license : Fingerprint Extractor


Thanks,
Daniel H

Admin: merged to "Activation and Licensing questions"

Re: WSQ image

PostPosted: Mar 21, 2012 11:20
by Martynas
dhernandezs wrote:I have a big problem trying to generate WSQ into ByteBuffer.
Java console
Code: Select all
com.neurotec.lang.NotActivatedException: Operation is not activated


It's an applet.
Java version 1.6
IE8
Neuro 4.2 SDK - Single PC license : Fingerprint Extractor

Hello,

FingerExtractor license do not enable the WSQ image usage.
If the WSQ images should be used, then the Finger Client license usage should be considered. Also in NLicenseObtainComponents function the "Images.WSQ" component should be obtained.

Re: WSQ image

PostPosted: Mar 21, 2012 16:15
by dhernandezs
Hi,

I add to NLicenseObtainComponents function "Biometrics.FingerSegmentation" component.

Code: Select all
if (!NLicense.obtainComponents("/local", 5000, "Biometrics.FingerExtraction,Biometrics.FingerSegmentation")){


And now works fine!

Thanks Martynas.

Daniel H

Re: Activation and Licensing questions

PostPosted: Apr 03, 2012 11:45
by ute
Hello,
i have a problem with actication wizard. I hope you can help me.
It is unable to load DLL NLicenseManager

ERROR Description
Code: Select all
RXJyb3IgZGVzY3JpcHRpb246IFVuYWJsZSB0byBs
b2FkIERMTCAnTkxpY2Vuc2VNYW5hZ2VyJzogRGll
IGFuZ2VnZWJlbmUgUHJvemVkdXIgd3VyZGUgbmlj
aHQgZ2VmdW5kZW4uIChFeGNlcHRpb24gZnJvbSBI
UkVTVUxUOiAweDgwMDcwMDdGKQ0KU3RhY2sgdHJh
Y2U6IA0KICAgYXQgTmV1cm90ZWMuTGljZW5zaW5n
Lk5MaWNlbnNlTWFuYWdlci5OTGljTWFuR2V0UHJv
ZHVjdElkcyhVSW50MzJbXSBwcm9kdWN0SWRzKQ0K
ICAgYXQgTmV1cm90ZWMuTGljZW5zaW5nLk5MaWNl
bnNlTWFuYWdlci5HZXRQcm9kdWN0SWRzKCkNCiAg
IGF0IE5ldXJvdGVjLk5MaWNlbnNlTmFtZUxpc3Qu
R2V0TGljZW5zZU5hbWVMaXN0KCkNCiAgIGF0IE5l
dXJvdGVjLkFjdGl2YXRpb25XaXphcmREb3ROZXRU
cmlhbC5NaXNjLkVudGl0aWVzLlByb2R1Y3RMaXN0
Li5jdG9yKCkNCiAgIGF0IE5ldXJvdGVjLkFjdGl2
YXRpb25XaXphcmREb3ROZXRUcmlhbC5NaXNjLkVu
dGl0aWVzLlByb2R1Y3RMaXN0LkdldFByb2R1Y3Rz
KCkNCiAgIGF0IE5ldXJvdGVjLkFjdGl2YXRpb25X
aXphcmREb3ROZXRUcmlhbC5Gb3Jtcy5Qcm9kdWN0
U2VsZWN0aW9uRm9ybS4uY3RvcigpDQogICBhdCBO
ZXVyb3RlYy5BY3RpdmF0aW9uV2l6YXJkRG90TmV0
VHJpYWwuRm9ybXMuTWFpbkZvcm0uTWFpbkZvcm1f
TG9hZChPYmplY3Qgc2VuZGVyLCBFdmVudEFyZ3Mg
ZSkNCiAgIGF0IFN5c3RlbS5XaW5kb3dzLkZvcm1z
LkZvcm0uT25Mb2FkKEV2ZW50QXJncyBlKQ0KICAg
YXQgU3lzdGVtLldpbmRvd3MuRm9ybXMuRm9ybS5P
bkNyZWF0ZUNvbnRyb2woKQ0KICAgYXQgU3lzdGVt
LldpbmRvd3MuRm9ybXMuQ29udHJvbC5DcmVhdGVD
b250cm9sKEJvb2xlYW4gZklnbm9yZVZpc2libGUp
DQogICBhdCBTeXN0ZW0uV2luZG93cy5Gb3Jtcy5D
b250cm9sLkNyZWF0ZUNvbnRyb2woKQ0KICAgYXQg
U3lzdGVtLldpbmRvd3MuRm9ybXMuQ29udHJvbC5X
bVNob3dXaW5kb3coTWVzc2FnZSYgbSkNCiAgIGF0
IFN5c3RlbS5XaW5kb3dzLkZvcm1zLkNvbnRyb2wu
V25kUHJvYyhNZXNzYWdlJiBtKQ0KICAgYXQgU3lz
dGVtLldpbmRvd3MuRm9ybXMuU2Nyb2xsYWJsZUNv
bnRyb2wuV25kUHJvYyhNZXNzYWdlJiBtKQ0KICAg
YXQgU3lzdGVtLldpbmRvd3MuRm9ybXMuQ29udGFp
bmVyQ29udHJvbC5XbmRQcm9jKE1lc3NhZ2UmIG0p
DQogICBhdCBTeXN0ZW0uV2luZG93cy5Gb3Jtcy5G
b3JtLldtU2hvd1dpbmRvdyhNZXNzYWdlJiBtKQ0K
ICAgYXQgU3lzdGVtLldpbmRvd3MuRm9ybXMuRm9y
bS5XbmRQcm9jKE1lc3NhZ2UmIG0pDQogICBhdCBT
eXN0ZW0uV2luZG93cy5Gb3Jtcy5Db250cm9sLkNv
bnRyb2xOYXRpdmVXaW5kb3cuT25NZXNzYWdlKE1l
c3NhZ2UmIG0pDQogICBhdCBTeXN0ZW0uV2luZG93
cy5Gb3Jtcy5Db250cm9sLkNvbnRyb2xOYXRpdmVX
aW5kb3cuV25kUHJvYyhNZXNzYWdlJiBtKQ0KICAg
YXQgU3lzdGVtLldpbmRvd3MuRm9ybXMuTmF0aXZl
V2luZG93LkNhbGxiYWNrKEludFB0ciBoV25kLCBJ
bnQzMiBtc2csIEludFB0ciB3cGFyYW0sIEludFB0
ciBscGFyYW0pDQpTeXN0ZW0uQ29sbGVjdGlvbnMu
TGlzdERpY3Rpb25hcnlJbnRlcm5hbA==

Re: verifinger sdk

PostPosted: Apr 03, 2012 19:52
by maddy
Martynas wrote:Hi,

could you specify, which version of the VeriFinger SDK you have used previously? Maybe you still have somewhere the downloaded archive?

Hi,
i ve downloaded the new "Neurotec_Biometric_4_3_SDK_Trial". But the license is shown as expired. Once i used the previous version of neurotec biometric sample. Does the new license has anything to do with the old license of previous version..?..if so,how should i make the new trial version obtain the license properly..? plz help me out



thank you :)

Re: Activation and Licensing questions

PostPosted: Apr 04, 2012 07:18
by maddy
Hi,
the Product revision number: 83664.
version 4.2

plz help me how to obtain proper license for the new version



thank you :)

Re: Activation and Licensing questions

PostPosted: Apr 04, 2012 14:41
by vaidasz
ute wrote:Hello,
i have a problem with actication wizard. I hope you can help me.
It is unable to load DLL NLicenseManager

ERROR Description
Code: Select all
RXJyb3IgZGVzY3JpcHRpb246IFVuYWJsZSB0byBs
b2FkIERMTCAnTkxpY2Vuc2VNYW5hZ2VyJzogRGll
IGFuZ2VnZWJlbmUgUHJvemVkdXIgd3VyZGUgbmlj
aHQgZ2VmdW5kZW4uIChFeGNlcHRpb24gZnJvbSBI
UkVTVUxUOiAweDgwMDcwMDdGKQ0KU3RhY2sgdHJh
Y2U6IA0KICAgYXQgTmV1cm90ZWMuTGljZW5zaW5n
Lk5MaWNlbnNlTWFuYWdlci5OTGljTWFuR2V0UHJv
ZHVjdElkcyhVSW50MzJbXSBwcm9kdWN0SWRzKQ0K
ICAgYXQgTmV1cm90ZWMuTGljZW5zaW5nLk5MaWNl
bnNlTWFuYWdlci5HZXRQcm9kdWN0SWRzKCkNCiAg
IGF0IE5ldXJvdGVjLk5MaWNlbnNlTmFtZUxpc3Qu
R2V0TGljZW5zZU5hbWVMaXN0KCkNCiAgIGF0IE5l
dXJvdGVjLkFjdGl2YXRpb25XaXphcmREb3ROZXRU
cmlhbC5NaXNjLkVudGl0aWVzLlByb2R1Y3RMaXN0
Li5jdG9yKCkNCiAgIGF0IE5ldXJvdGVjLkFjdGl2
YXRpb25XaXphcmREb3ROZXRUcmlhbC5NaXNjLkVu
dGl0aWVzLlByb2R1Y3RMaXN0LkdldFByb2R1Y3Rz
KCkNCiAgIGF0IE5ldXJvdGVjLkFjdGl2YXRpb25X
aXphcmREb3ROZXRUcmlhbC5Gb3Jtcy5Qcm9kdWN0
U2VsZWN0aW9uRm9ybS4uY3RvcigpDQogICBhdCBO
ZXVyb3RlYy5BY3RpdmF0aW9uV2l6YXJkRG90TmV0
VHJpYWwuRm9ybXMuTWFpbkZvcm0uTWFpbkZvcm1f
TG9hZChPYmplY3Qgc2VuZGVyLCBFdmVudEFyZ3Mg
ZSkNCiAgIGF0IFN5c3RlbS5XaW5kb3dzLkZvcm1z
LkZvcm0uT25Mb2FkKEV2ZW50QXJncyBlKQ0KICAg
YXQgU3lzdGVtLldpbmRvd3MuRm9ybXMuRm9ybS5P
bkNyZWF0ZUNvbnRyb2woKQ0KICAgYXQgU3lzdGVt
LldpbmRvd3MuRm9ybXMuQ29udHJvbC5DcmVhdGVD
b250cm9sKEJvb2xlYW4gZklnbm9yZVZpc2libGUp
DQogICBhdCBTeXN0ZW0uV2luZG93cy5Gb3Jtcy5D
b250cm9sLkNyZWF0ZUNvbnRyb2woKQ0KICAgYXQg
U3lzdGVtLldpbmRvd3MuRm9ybXMuQ29udHJvbC5X
bVNob3dXaW5kb3coTWVzc2FnZSYgbSkNCiAgIGF0
IFN5c3RlbS5XaW5kb3dzLkZvcm1zLkNvbnRyb2wu
V25kUHJvYyhNZXNzYWdlJiBtKQ0KICAgYXQgU3lz
dGVtLldpbmRvd3MuRm9ybXMuU2Nyb2xsYWJsZUNv
bnRyb2wuV25kUHJvYyhNZXNzYWdlJiBtKQ0KICAg
YXQgU3lzdGVtLldpbmRvd3MuRm9ybXMuQ29udGFp
bmVyQ29udHJvbC5XbmRQcm9jKE1lc3NhZ2UmIG0p
DQogICBhdCBTeXN0ZW0uV2luZG93cy5Gb3Jtcy5G
b3JtLldtU2hvd1dpbmRvdyhNZXNzYWdlJiBtKQ0K
ICAgYXQgU3lzdGVtLldpbmRvd3MuRm9ybXMuRm9y
bS5XbmRQcm9jKE1lc3NhZ2UmIG0pDQogICBhdCBT
eXN0ZW0uV2luZG93cy5Gb3Jtcy5Db250cm9sLkNv
bnRyb2xOYXRpdmVXaW5kb3cuT25NZXNzYWdlKE1l
c3NhZ2UmIG0pDQogICBhdCBTeXN0ZW0uV2luZG93
cy5Gb3Jtcy5Db250cm9sLkNvbnRyb2xOYXRpdmVX
aW5kb3cuV25kUHJvYyhNZXNzYWdlJiBtKQ0KICAg
YXQgU3lzdGVtLldpbmRvd3MuRm9ybXMuTmF0aXZl
V2luZG93LkNhbGxiYWNrKEludFB0ciBoV25kLCBJ
bnQzMiBtc2csIEludFB0ciB3cGFyYW0sIEludFB0
ciBscGFyYW0pDQpTeXN0ZW0uQ29sbGVjdGlvbnMu
TGlzdERpY3Rpb25hcnlJbnRlcm5hbA==


Hello,

Please generate diagnostics, save it to file and e-mail to support@neurotechnology.com. Do not forget to specify the issue in e-mail. Also mentioned exact version of SDK and revision number (that could be found in SDK root folder) as well as OS you are using.

Re: Activation and Licensing questions

PostPosted: Apr 04, 2012 14:42
by vaidasz
maddy wrote:Hi,
the Product revision number: 83664.
version 4.2

plz help me how to obtain proper license for the new version



thank you :)


Hello,

Please generate diagnostics using Activation Wizard, save it to file and e-mail to support@neurotchnology.com. Do not forget to describe the issue.

Can not use Samples in VeriFinger Embedded SDK Trial

PostPosted: Apr 06, 2012 09:32
by vuanhtung
Hello,

I'm trying to run samples in the VeriFinger Embedded SDK Trial. When I built the project with Maven (latest version 3.0.4), I received the following error:
Code: Select all
[INFO] ------------------------------------------------------------------------
[INFO] Building utils 1.1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ utils-android ---
[INFO] Deleting C:\MegaMatcher\Samples\Common\Android\utils\target
[INFO]
[INFO] --- android-maven-plugin:3.0.0:generate-sources (default-generate-sources
) @ utils-android ---
[INFO] ANDROID-904-002: Found aidl files: Count = 2
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] megamatcher-embedded-component-installer .......... SUCCESS [1.906s]
[INFO] Neurotec samples .................................. SUCCESS [0.125s]
[INFO] utils ............................................. FAILURE [1.219s]
[INFO] licensing ......................................... SKIPPED
[INFO] biometrics-samples-android ........................ SKIPPED
[INFO] multibiometric-sample ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.016s
[INFO] Finished at: Fri Apr 06 16:29:04 ICT 2012
[INFO] Final Memory: 10M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:andr
oid-maven-plugin:3.0.0:generate-sources (default-generate-sources) on project ut
ils-android: Execution default-generate-sources of goal com.jayway.maven.plugins
.android.generation2:android-maven-plugin:3.0.0:generate-sources failed: -1 -> [
Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutio
nException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :utils-android
C:\MegaMatcher\Samples>

I use Eclipse IDE with Android SDK installed.
Please tell me what is the problem. Any help would be appreciated.

Best Regards,

Admin: merged to "Activation and Licensing questions"

Re: Can not use Samples in VeriFinger Embedded SDK Trial

PostPosted: Apr 12, 2012 08:37
by vuanhtung
vuanhtung wrote:I'm trying to run samples in the VeriFinger Embedded SDK Trial. When I built the project with Maven (latest version 3.0.4), I received the following error:
...
I use Eclipse IDE with Android SDK installed.
Please tell me what is the problem. Any help would be appreciated.


I solved this problem by the customer support. I was an activation problem.

Thanks,

SentiSight license

PostPosted: Apr 17, 2012 20:35
by parameshg
Hi,

I've a single computer SentiSight license tied to my laptop. I'd like to transfer it to my new desktop. Can anyone let me know how can I do this?

Thanks,
Param

Admin: merged to "Activation and Licensing questions"

Re: Activation and Licensing questions

PostPosted: Apr 18, 2012 11:33
by Martynas
Hello,

if you are using SentiSight 3./3.1 version, then deactivation steps are below.

Code: Select all
Deactivation/transfer instructions:
It is possible to transfer license from one computer to another. Transfer is permanent, i.e. it would be impossible to continue using existing license on original computer.
Windows:
1.   Start command line (press Start -> Run, type CMD and press ENTER. If you use Windows Vista/7, press Start button, enter “Command Prompt”, click right mouse button on “Command Prompt” and select option “Run as Administrator”).
2.   Go to the Activation folder.
3.   Execute deactivation command:
To deactivate SentiSight license execute:   id_gen -rss

Linux:
1.   Execute deactivation command:
To deactivate SentiSight license execute:   ./id_gen -rss

For safety you will be prompted "Deactivate license? (Y/N)". Please answer "Y". It would be impossible to continue using license  on this computer after deactivation.

2) File "deactivate.id" will be generated as result after each command. Save it. Please send these files and original license files (*.lic) to us. After this we will allow activate license on another/new computer.


If you are using previous version of the SentiSight then deactivation instructions are below.

Code: Select all
Deactivation/transfer instructions:
It is possible to transfer license from one computer to another. Transfer is permanent, i.e. it would be impossible to continue using existing license on original computer.
SentiSight deactivation and license transfer procedure is following:
1) Windows:
To uninstall SentiSight please run "id_gen -rse".

Linux and Mac:
To uninstall SentiSight please run "./id_gen -rse".

For safety you will be prompted "Deactivate license? (Y/N)". Please answer "Y". It would be impossible to continue using SentiSight on this computer after deactivation.

2) File "deactivate.id" will be generated as result after each command. Save it. Please send these files and original license files (*.lic) to us. After this we will allow activate license on another/new computer.


IMPORTANT NOTE! send generated deactivation ids and license files only to support@neurotechnology.com.

Re: Fingerprint Client Concurrent network licenses

PostPosted: May 02, 2012 22:41
by jorgevaron
Hello Martynas, to Activate the product with a serial number, is required a internet connection and/or a concurrent licence's .lic file ?

thanks

Martynas wrote:Hello,
JeongSeon Choi wrote:How to install Fingerprint Client Concurrent network licenses to license manage server

if you have received the concurrent license as serial number then the activation process is this:

1. Activate the serial number and save the license file to Activation folder.
2. Edit the pgd.conf file like below:
Code: Select all
   mode = server
   LicenseFile=path_concurrent_license_file

3. Restart the Neurotechnology licensing service.

If you have received the concurrent license on dongle then the activation process is this:

1. Connect the dongle to computer.
2. Edit the pgd.conf file like below:
Code: Select all
   mode = server

3. Restart the Neurotechnology licensing service.

JeongSeon Choi wrote:How to obtain and release a license from Fingerprint Client Concurrent network licenses server in program example


License is obtained by using NLicenseObtainComponents function.
License is released by using NLicenseReleaseComponents function.

When the concurrent license is sued it is important to release the license as soon as it is possible. then it becomes available for other computers.
i.e. if you are doing scanning and extraction then the flow should be like one below.

1. Obtain the license
a. as the license can be obtained by other computer it is recommended to try obtain the license in the loop until it is obtained.
2. Initialize NDeviceManager
3. Release the license
4. Scan fingerprint
5. If the image was scanned, then obtain the license
a. as the license can be obtained by other computer it is recommended to try obtain the license in the loop until it is obtained.
6. Extract template
7. Release license.

Re: Activation and Licensing questions

PostPosted: May 03, 2012 11:24
by Martynas
jorgevaron wrote:Hello Martynas, to Activate the product with a serial number, is required a internet connection and/or a concurrent licence's .lic file ?

Hello,

to activate serial number you need Internet connection. If the Internet connection is not available on machine, then you need to use our website to generate the license. Instruction how to activate serial numbers in both cases are provided in the Activation.pdf document, included in the downloaded SDK.

Fingerprint Client Concurrent License

PostPosted: May 09, 2012 22:01
by alvarosanchez
Hi,
license is required for concurrent USB dongle,
or just with the file. lic

what are the steps to install the linux concurrent license?

how to configure the server?
how to configure the computer client?

Admin: merged to "Activation and Licensing questions"

Re: Activation and Licensing questions

PostPosted: May 10, 2012 10:24
by Martynas
alvarosanchez wrote:license is required for concurrent USB dongle,
or just with the file. lic

what are the steps to install the linux concurrent license?

how to configure the server?

Hello,

the concurrent license can be provided on USB dongle or as serial number.
In case of the USB dongle. it should be connected to the computer, which will be configured to act as "Dongle Server". Instructions how to configure it are provided in the Activation.pdf document of the downloaded SDK.
In case of the concurrent licenses provided as serial number it should be activated according to instructions in the Activation.pdf. Once you will have a license, you will need to configure the computer, where this license was activated to act as "license server".
For this you will need manually edit the pgd.conf file in Activation folder and change the string "mode=single" to "mode=server". After that the restart of the Neurotechnology licensing service should be done.
alvarosanchez wrote:how to configure the computer client?

The client side should be configured to obtain the license from the configured "license server", where the dongle is connected or the serial number was activated.
It can be done on client side by following steps provided in the Activation.pdf document.

Re: Activation and Licensing questions

PostPosted: May 11, 2012 23:39
by alvarosanchez
Hello,
what type of licenses must be installed on client computer

in case we have concurrent license

client computer configuration concurrent license

PostPosted: May 11, 2012 23:50
by alvarosanchez
Hello,
pgd.conf the configuration file on client computer is as follows
Code: Select all
mode = single
port = 5000
address = 192.168.0.10

LicenceType = Concurrent
DisableLicSearch = 0

#LicenceFile = l_00.lic
#LicenseFile = l_01.lic
#LicenseFile = l_02.lic

is right or license needs to be generated from the client computer?

pgd.conf file on the server
Code: Select all
mode = server
LicenseFile = Server.lic
port = 5000
address = 0.0.0.0

LicenceUsageLogFile = LicenceUsage.log
DisableLicSearch = 0

LicenceFile = FingerExtractor.lic
LicenseFile = FingerMatcher.lic
LicenseFile = concurrent_1.lic
LicenseFile = concurrent_2.lic

with this configuration does not work concurrent license,
the product is already active

Admin: merged to "Activation and Licensing questions" and deleted three duplicate topics

Re: Activation and Licensing questions

PostPosted: May 14, 2012 08:15
by vaidasz
alvarosanchez wrote:Hello,
what type of licenses must be installed on client computer

in case we have concurrent license


Hello,

The difference of "single computer license" and "concurrent" license is that once the concurrent license is released it could be obtained by another computer. If you use "single computer license" once you release the license, you can obtain it after 8 hours. So this depends what licenses do you need in your project.
As you have purchased VeriFinger 6.4 Extended SDK, you have only 1 Fingerprint Client Concurrent license. There are no concurrent licenses for matchers.

Re: client computer configuration concurrent license

PostPosted: May 14, 2012 10:30
by vaidasz
alvarosanchez wrote:Hello,
pgd.conf the configuration file on client computer is as follows
Code: Select all
mode = single
port = 5000
address = 192.168.0.10

LicenceType = Concurrent
DisableLicSearch = 0

#LicenceFile = l_00.lic
#LicenseFile = l_01.lic
#LicenseFile = l_02.lic

is right or license needs to be generated from the client computer?

There are 2 license types available in our SDK - "single computer license" and "concurrent". If you use concurrent license, when you release the license it becomes available for other computer to obtain. If you use single computer license, once you release the license, other computer could obtain it after 8 hours (single computer license sharing could be done only using dongle). Which license type to use depends on your project's requirements.
As your company purchased VeriFinger 6.4 Extended SDK, you have only 1 Fingerprint Client Concurrent license. There are no concurrent licenses for matchers.

If you use single mode for licensing service, then you do not need to specify address (using single computer file license. Single computer license sharing over network is only available using dongle). Also, default port is 5000, so it is not necessary to specify it. So using single computer file license your pgd.conf should look like:
Code: Select all
Mode=single
LicenseFile=PATH_TO_LICENSE_FILE


alvarosanchez wrote:pgd.conf file on the server
Code: Select all
mode = server
LicenseFile = Server.lic
port = 5000
address = 0.0.0.0

LicenceUsageLogFile = LicenceUsage.log
DisableLicSearch = 0

LicenceFile = FingerExtractor.lic
LicenseFile = FingerMatcher.lic
LicenseFile = concurrent_1.lic
LicenseFile = concurrent_2.lic

with this configuration does not work concurrent license,
the product is already active

Admin: merged to "Activation and Licensing questions" and deleted three duplicate topics

Your pgd.conf is configurred to use only Server license file. This license enables NServer. To be able to use matching in this computer you need to activate one matcher as well (in your case Fingerprint Matcher license).
Server lciense file should be copied to each computer you want to use NServer. It could not be shared over network.
As I've mentioned above, you have only Fingerprint Client Concurrent license. So if you want to use this concurrent license, you have to activate it (serial number was provided to you when you purchased SDK).
If you want to use only matching on server, you need to activate Fingerprint Matcher license on the computer you gonna use it (in your, case server computer). If you want to capture fingerprint and extarct it's features, then you need to activate Fingerprint Extractor or Fingerprint Client license (depends on which functionality do you need) on the computer you want to perform this option (in your case, client computer).

Re: Activation and Licensing questions

PostPosted: May 21, 2012 20:23
by Crisstina
Hello,

We are developing a custom license file distribution web service, but we have noticed that 30% of the serial requests are being rejected, due to an error returned by the licensing DLLs:
The error we receive is:
NLicManGenerateSerial() failed. error code -1
Is there anything we can do, so we get less rejections?

Thank you for your help.-

Re: Activation and Licensing questions

PostPosted: May 22, 2012 06:39
by vaidasz
Crisstina wrote:Hello,

We are developing a custom license file distribution web service, but we have noticed that 30% of the serial requests are being rejected, due to an error returned by the licensing DLLs:
The error we receive is:
NLicManGenerateSerial() failed. error code -1
Is there anything we can do, so we get less rejections?

Thank you for your help.-


Hello,

Please send your issue to support@neurotechnology.com. In the e-mail, specify what is the issue. Also generate diagnostics and send to use. Provide small test application that reproduces the issue.

Re: Activation and Licensing questions

PostPosted: Jun 15, 2012 20:59
by edepablos
Hello support team,

We already have purchased around of 1700 single computer licenses, used to work with our application installed in biometric terminals. This actually work in one server who provides the licensing via dongle USB over network. Our client is asking for a high availability schema who have at least two servers in a NLB configuration.

We see this factible step aside to consider the dongles' implications. In order to evaluate options, we like to ask: Is possible to use concurrent licenses instead of singles to provide the capacity of processing the 1700 petitions simultaneosly and have this concurrent licenses not in a dongle, but delivered as a serial license in each server?

What we do have to consider to make factible configuration of our solution? We have VeriFinger 6.2 in the develop of our application.

Is factible to exchange the equivalent amount of the single licenses to a quantity of concurrent licenses?

Thanks in advantage for your prompt reply,

Greetings.

Re: Activation and Licensing questions

PostPosted: Jun 18, 2012 11:35
by Martynas
Hello,

in case if there is a need of the high availability, when the dongle with multiple licenses is used, then you will need to setup the two servers with two dongles connected and having the same amount of licenses. The application should be implemented so, that if the licenses was not obtained from one server, it would try to obtain it from another one.
What regards the usage of concurrent licenses in such scenario. It could be done, but in case of the VeriFinger 6.2 there is no possibility to use the concurrent license as serial number, only concurrent licenses on dongle are supported.
Also i want to notice, that there are no such licenses as concurrent matcher licenses.
The main difference between the concurrent and single computer license, is that the concurrent license can be shared between several machines. But it doe snot mean, that the one concurrent license can be used on several machines at the same time. When the concurrent license is obtained by one machine, it becomes unavailable for other ones. Once the first machine, which obtained the license, releases it, the license becomes available and other machine can obtain it. So there could be situations when the all available concurrent licenses will be obtained and there will be no licenses available for other machines.
Concurrent licenses are useful, when the license is needed only for a short period of time on the current machine, i.e. only for fingerprint scanning and extracting. So it is reasonable to use the licenses as short as it is possible on machine.
Usually we recommend such steps, when the concurrent licenses are used:

1. Obtain the license (it is recommended to do it in a loop, just to override cases, when there is no concurrent licenses available at that moment)
2. Initialize fingerprint scanner and start capturing
3. release the license
4. capture fingerprint
5. if the fingerprint was captured, the obtain the license
6. extract fingerprint template
7. release the license

edepablos wrote:Is factible to exchange the equivalent amount of the single licenses to a quantity of concurrent licenses?

Yes, it is possible to exchange your purchased single computer license to concurrent license. Please contact us by email for this.

NotActivatedException was unhandled by user code

PostPosted: Jul 03, 2012 07:03
by PunitMPatel622
Hi,

I am trying to make simple application which will read finger print from the device and store it in appropriate format ( like bmp ). For archiving this I have downloaded Neurotec_Biometric_4_3_SDK_Trial_2012-05-19.zip from the net. In this folder there is sub folder called SimpleFingersSampleCS which contain application develop in VS2008. For archiving my initial goal I have copy only those code which will allow to read finger print from the device and store that image in the file.

In my application I am able to detect finger scanner device but when I am trying to scan the finger from the external device I get NotActivatedException. I got this exception in the code line e.Result = scanner.Capture();. Kindly help me how to go ahead in this situation.

Thanks & Regards,
Punit Patel

Admin: merged to "Activation and Licensing questions"

Re: NotActivatedException was unhandled by user code

PostPosted: Jul 03, 2012 10:37
by Martynas
PunitMPatel622 wrote:Hi,

I am trying to make simple application which will read finger print from the device and store it in appropriate format ( like bmp ). For archiving this I have downloaded Neurotec_Biometric_4_3_SDK_Trial_2012-05-19.zip from the net. In this folder there is sub folder called SimpleFingersSampleCS which contain application develop in VS2008. For archiving my initial goal I have copy only those code which will allow to read finger print from the device and store that image in the file.

In my application I am able to detect finger scanner device but when I am trying to scan the finger from the external device I get NotActivatedException. I got this exception in the code line e.Result = scanner.Capture();. Kindly help me how to go ahead in this situation.

Thanks & Regards,
Punit Patel

Hi,

did you obtain licenses for components, by using NLicense.ObtainComponents method, as it is shown in the sample?

Re: NotActivatedException was unhandled by user code

PostPosted: Jul 03, 2012 12:15
by PunitMPatel622
Hi,

I also added all required code for obtaining the license. After that if I tried to run the code I am getting error message that The given key was not present in the dictionary. Also this error shown in red color in Required component licenses section. Please guide me further.


Thanks & Regards,
Punit Patel

Re: NotActivatedException was unhandled by user code

PostPosted: Jul 03, 2012 12:34
by Martynas
PunitMPatel622 wrote:I also added all required code for obtaining the license. After that if I tried to run the code I am getting error message that The given key was not present in the dictionary. Also this error shown in red color in Required component licenses section. Please guide me further.

please provide the details:

1. the exact code which you are using for obtaining license?
2. explanation what do you mean by saying "Also this error shown in red color in Required component licenses section"

Re: NotActivatedException was unhandled by user code

PostPosted: Jul 03, 2012 13:30
by PunitMPatel622
Hi,
I have the code for the SimpleFingerSampleCs project( which is available with Neurotec_Biometric_4_3_SDK_Trial_2012-05-19.zip . From that application I have copied only those code which will allow me to get the finger print ( called EnrollFromScanner ) and created new application. I am copying my code of the solution. In case if you feel this way is not proper please provide me a way through which I can sent you zip of the solution created by me so that you can run the project and recreate the error.

On running the my solution I am getting the error on the top of the window where it is written that ( Required Component Licence: Biometrics.FingerExtraction,Devices.FingerScanners,Images.WSQ(optional) ) After that in the red color it display that Failed to obtain licenses for components. Error message: The given key was not present in the dictionary.

Following is the cs code of project created by me.
-----------------------------------------------------------------------------------------------------------------
1)Program (Program.cs which will be called as we start to run the project.)
------------------------------------------------------------------------------------------------------------------
Code: Select all
 
using System;
using System.Collections.Generic;
//using System.Linq;
using System.Windows.Forms;

namespace EnrollFromScanner
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}

2) Form1( form that will be shown first when we run the project )
-------------------------------------------------------------------------------------------------------
* Form1.cs
Code: Select all
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
//using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EnrollFromScanner
{
    public partial class Form1 : Form
    {
        private Neurotec.Samples.EnrollFromScanner enFScan;
        public Form1()
        {
            InitializeComponent();
        }
        public void Show(Control control)
        {
   //         EnrollFromScanner.Form2 form2 = new EnrollFromScanner.Form2();
            Neurotec.Samples.MainForm mainForm = new Neurotec.Samples.MainForm(control);
            mainForm.Controls.Add(control);
            mainForm.Show();
           
        }

        private void button1_Click(object sender, EventArgs e)
        {
            enFScan = new Neurotec.Samples.EnrollFromScanner();
            this.Show(enFScan);
        }
    }
}


-------------------------------------------------------------------------------------------------------------------------
Form1.Designer.cs
Code: Select all
namespace EnrollFromScanner
{
    partial class Form1
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    /*    protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        } */

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.button1 = new System.Windows.Forms.Button();
            this.SuspendLayout();
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(12, 12);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 0;
            this.button1.Text = "button1";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(681, 737);
            this.Controls.Add(this.button1);
            this.Name = "Form1";
            this.Text = "Form1";
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Button button1;
    }
}



3) MainForm ( This form will contain user control EnrollFromScanner )
--------------------------------------------------------------------------------------------------------------------
* MainForm.cs
Code: Select all
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Neurotec.Biometrics;
using Neurotec.Licensing;

namespace Neurotec.Samples
{
    public partial class MainForm : Form
    {
        #region Public constructor

        private EnrollFromScanner eFScan;

        public MainForm()
        {
            InitializeComponent();
        }

        public MainForm(Control control)
        {
            InitializeComponent();
            eFScan = (Neurotec.Samples.EnrollFromScanner)control;
        }

        #endregion

        #region Private fields

        private NFExtractor _extractor;
        private NMatcher _matcher;

        private readonly List<Control> _pages = new List<Control>();

        #endregion

        #region Private form events

        private void MainFormLoad(object sender, EventArgs e)
        {
           ObtainedComponents.Instance.Add("Biometrics.FingerExtraction", false);
          //  ObtainedComponents.Instance.Add("Biometrics.FingerMatching", false);
            ObtainedComponents.Instance.Add("Devices.FingerScanners", false);
            ObtainedComponents.Instance.Add("Images.WSQ", false);

           /* TabPage page = new TabPage("Enroll From Image");
            EnrollFromImage enrollFromImage = new EnrollFromImage();
            enrollFromImage.Dock = DockStyle.Fill;
            _pages.Add(enrollFromImage);
            page.Controls.Add(enrollFromImage);
            tabControl.TabPages.Add(page);*/

         //   page = new TabPage("Enroll From Scanner");
      //      EnrollFromScanner enrollFromScanner = new EnrollFromScanner();
         //   enrollFromScanner.Dock = DockStyle.Fill;
         //   _pages.Add(enrollFromScanner);
         //   page.Controls.Add(enrollFromScanner);
         //   tabControl.TabPages.Add(page);

         /*   page = new TabPage("Generalize Finger");
            GeneralizeFinger generalizeFinger = new GeneralizeFinger();
            generalizeFinger.Dock = DockStyle.Fill;
            _pages.Add(generalizeFinger);
            page.Controls.Add(generalizeFinger);
            tabControl.TabPages.Add(page); */

        /*    page = new TabPage("Identify Finger");
            IdentifyFinger identifyFinger = new IdentifyFinger();
            identifyFinger.Dock = DockStyle.Fill;
            _pages.Add(identifyFinger);
            page.Controls.Add(identifyFinger);
            tabControl.TabPages.Add(page); */

         /*   page = new TabPage("Verify Finger");
            VerifyFinger verifyFinger = new VerifyFinger();
            verifyFinger.Dock = DockStyle.Fill;
            _pages.Add(verifyFinger);
            page.Controls.Add(verifyFinger);
            tabControl.TabPages.Add(page); */

            _extractor = new NFExtractor();
            _matcher = new NMatcher();
           // enrollFromImage.Extractor = _extractor;
            eFScan.Extractor = _extractor;
           // generalizeFinger.Extractor = _extractor;
           // identifyFinger.Extractor = _extractor;
           // identifyFinger.Matcher = _matcher;
           // verifyFinger.Extractor = _extractor;
           // verifyFinger.Matcher = _matcher;
        }

        private void TabControlSelecting(object sender, TabControlCancelEventArgs e)
        {
            _extractor.Reset();
            _matcher.Reset();
            for (int i = 0; i < _pages.Count; i++)
            {
                _pages[i].Visible = e.TabPageIndex == i;
            }
        }

        private void MainFormFormClosing(object sender, FormClosingEventArgs e)
        {
            foreach (KeyValuePair<string, bool> item in ObtainedComponents.Instance)
            {
                if (item.Value)
                {
                    NLicense.ReleaseComponents(item.Key);
                }
            }
        }

        #endregion
    }

    public class ObtainedComponents : Dictionary<string, bool>
    {
        private ObtainedComponents()
        {
        }

        private static ObtainedComponents _instance;
        public static ObtainedComponents Instance
        {
            get
            {
                if (_instance == null)
                    _instance = new ObtainedComponents();

                return _instance;
            }
        }
    }
}


---------------------------------------------------------------------------------------------------------
* MainForm.Designer.cs
Code: Select all
namespace Neurotec.Samples
{
    partial class MainForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
          /*  System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            this.tabControl = new System.Windows.Forms.TabControl();
            this.SuspendLayout();*/
            //
            // tabControl
            //
     /*       this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl.Location = new System.Drawing.Point(0, 0);
            this.tabControl.Name = "tabControl";
            this.tabControl.SelectedIndex = 0;
            this.tabControl.Size = new System.Drawing.Size(654, 492);
            this.tabControl.TabIndex = 0;
            this.tabControl.Selecting += new System.Windows.Forms.TabControlCancelEventHandler(this.TabControlSelecting);*/
            //
            // MainForm
            //
        /*    this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(654, 492);
            this.Controls.Add(this.tabControl);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "MainForm";
            this.Text = "Simple Fingers Sample";
            this.Load += new System.EventHandler(this.MainFormLoad);
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormFormClosing);
            this.ResumeLayout(false);*/

            this.components = new System.ComponentModel.Container();
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Text = "Simple Fingers Sample";
            this.Load += new System.EventHandler(this.MainFormLoad);
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormFormClosing);
           
        }

        #endregion

        private System.Windows.Forms.TabControl tabControl;

    }
}


4) LicensePanel ( This code is the code for getting license )
--------------------------------------------------------------------------------------------------------------
*LicensePanel.cs
Code: Select all
using System;
using System.Drawing;
using System.Windows.Forms;
using Neurotec.Licensing;
using System.Text;

namespace Neurotec.Samples
{
    public partial class LicensePanel : UserControl
    {
        #region Public constructor

        public LicensePanel()
        {
            InitializeComponent();
        }

        #endregion

        #region Private fields

        private const int Port = 5000;
        private const string Address = "/local";
        private string _requiredComponents = string.Empty;
        private string _optionalComponents = string.Empty;

        private const int FullHeight = 60;
        private const int MinHeight = 30;

        #endregion

        #region Public properties

        public string RequiredComponents
        {
            get
            {
                return _requiredComponents;
            }
            set
            {
                _requiredComponents = value;
                rtbComponents.SelectionColor = Color.Black;
                rtbComponents.Text = GetRequiredComponentsString();
                string optional = GetOptionalComponentsString();
                if (!string.IsNullOrEmpty(optional))
                {
                    rtbComponents.AppendText(", " + optional);
                }
            }
        }

        public string OptionalComponents
        {
            get
            {
                return _optionalComponents;
            }
            set
            {
                _optionalComponents = value;
                rtbComponents.SelectionColor = Color.Black;
                rtbComponents.Text = GetRequiredComponentsString();
                string optional = GetOptionalComponentsString();
                if (!string.IsNullOrEmpty(optional))
                {
                    rtbComponents.AppendText(", " + optional);
                }
            }
        }

        #endregion

        #region Private methods

        private string GetRequiredComponentsString()
        {
            if (_requiredComponents != null)
                return _requiredComponents.Replace(",", ", ");
            else
                return string.Empty;
        }

        private string GetOptionalComponentsString()
        {
            if (_optionalComponents == null) return string.Empty;

            string[] components = _optionalComponents.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
            if (components.Length == 0)
                return string.Empty;
            else
            {
                StringBuilder result = new StringBuilder();
                for (int i = 0; i < components.Length; i++)
                {
                    result.Append(components[i]);
                    result.Append("(optional)");
                    if (i != components.Length - 1)
                        result.Append(", ");
                }
                return result.ToString();
            }
        }

        private void ObtainRequired()
        {
            string text = rtbComponents.Text;
            try
            {
                rtbComponents.Text = string.Empty;
                int obtainedCount = 0;
                string[] requiredComponents = RequiredComponents.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
                for (int i = 0; i < requiredComponents.Length; i++)
                {
                    string item = requiredComponents[i];
                    if (!ObtainedComponents.Instance[item])
                    {
                        bool obtained = NLicense.ObtainComponents(Address, Port, item);
                        if (obtained)
                        {
                            ObtainedComponents.Instance[item] = true;
                            rtbComponents.SelectionColor = Color.Green;
                            rtbComponents.AppendText(item);
                            obtainedCount++;
                        }
                        else
                        {
                            rtbComponents.SelectionColor = Color.Red;
                            rtbComponents.AppendText(item);
                        }
                    }
                    else
                    {
                        rtbComponents.SelectionColor = Color.Green;
                        rtbComponents.AppendText(item);
                        obtainedCount++;
                    }
                    if (i != requiredComponents.Length - 1)
                    {
                        rtbComponents.SelectionColor = Color.Black;
                        rtbComponents.AppendText(", ");
                    }
                }

                if (obtainedCount == requiredComponents.Length)
                {
                    lblStatus.Text = "Component licenses obtained";
                    lblStatus.ForeColor = Color.Green;
                }
                else
                {
                    lblStatus.Text = "Not all requered licenses obtained";
                    lblStatus.ForeColor = Color.Red;
                }
            }
            catch
            {
                rtbComponents.SelectionColor = Color.Black;
                rtbComponents.Text = text;
                throw;
            }
        }

        private void ObtainOptional()
        {
            string text = rtbComponents.Text;
            try
            {
                Color color = Color.Black;
                rtbComponents.SelectionColor = color;
                rtbComponents.AppendText(", ");
                string[] components = OptionalComponents.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
                for (int i = 0; i < components.Length; i++)
                {
                    string item = components[i];
                    if (!ObtainedComponents.Instance[item])
                    {
                        bool obtained = NLicense.ObtainComponents(Address, Port, item);
                        if (obtained)
                        {
                            ObtainedComponents.Instance[item] = true;
                            color = Color.Green;
                        }
                        else
                        {
                            color = Color.Red;
                        }
                    }
                    else
                    {
                        color = Color.Green;
                    }

                    rtbComponents.SelectionColor = color;
                    rtbComponents.AppendText(string.Format("{0}(optional)", item));

                    if (i != components.Length - 1)
                    {
                        rtbComponents.SelectionColor = Color.Black;
                        rtbComponents.AppendText(", ");
                    }
                }
            }
            catch
            {
                rtbComponents.SelectionColor = Color.Black;
                rtbComponents.Text = text;
                throw;
            }
        }

        #endregion

        #region Public methods

        public void ObtainComponents()
        {
            try
            {
                ObtainRequired();
                ObtainOptional();
            }
            catch (Exception ex)
            {
                lblStatus.Text = string.Format("Failed to obtain licenses for components. Error message: {0}", ex.Message);
                lblStatus.ForeColor = Color.Red;
            }
        }

        #endregion
    }
}

-----------------------------------------------------------------------------------------------------------
*LicensePanel.Designer.cs
Code: Select all
namespace Neurotec.Samples
{
    partial class LicensePanel
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Component Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.label1 = new System.Windows.Forms.Label();
            this.lblStatus = new System.Windows.Forms.Label();
            this.rtbComponents = new System.Windows.Forms.RichTextBox();
            this.SuspendLayout();
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(186)));
            this.label1.Location = new System.Drawing.Point(5, 3);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(178, 13);
            this.label1.TabIndex = 0;
            this.label1.Text = "Required component licenses:";
            //
            // lblStatus
            //
            this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.lblStatus.AutoSize = true;
            this.lblStatus.ForeColor = System.Drawing.Color.Red;
            this.lblStatus.Location = new System.Drawing.Point(5, 20);
            this.lblStatus.Name = "lblStatus";
            this.lblStatus.Size = new System.Drawing.Size(164, 13);
            this.lblStatus.TabIndex = 3;
            this.lblStatus.Text = "Component licenses not obtained";
            //
            // rtbComponents
            //
            this.rtbComponents.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.rtbComponents.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.rtbComponents.Enabled = false;
            this.rtbComponents.HideSelection = false;
            this.rtbComponents.Location = new System.Drawing.Point(189, 3);
            this.rtbComponents.Multiline = false;
            this.rtbComponents.Name = "rtbComponents";
            this.rtbComponents.ReadOnly = true;
            this.rtbComponents.Size = new System.Drawing.Size(228, 13);
            this.rtbComponents.TabIndex = 5;
            this.rtbComponents.Text = "Components";
            //
            // LicensePanel
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.rtbComponents);
            this.Controls.Add(this.lblStatus);
            this.Controls.Add(this.label1);
            this.Name = "LicensePanel";
            this.Size = new System.Drawing.Size(420, 43);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label lblStatus;
        private System.Windows.Forms.RichTextBox rtbComponents;
    }
}




5) (Actual code for user control EnrollFromScanner )
--------------------------------------------------------------------------------------------------------
*EnrollFromScanner.cs
Code: Select all
using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Threading;
using System.Windows.Forms;
using Neurotec.Biometrics;
using Neurotec.Biometrics.Gui;
using Neurotec.Devices;
using Neurotec.Images;
using Neurotec.IO;

namespace Neurotec.Samples
{
    public partial class EnrollFromScanner : UserControl
    {
        #region Public constructor

        public EnrollFromScanner()
        {
            InitializeComponent();
        }

        #endregion

        #region Private fields

        private NFExtractor _extractor;
        private NDeviceManager _deviceMan;
        private NFingerScanner _currentScanner;
        private NFView _nfView;

        private string _oldTemplateFilename = string.Empty;
        private NGrayscaleImage _imageShow;
        private NBuffer _template;

        #endregion

        #region Public properties

        public NFExtractor Extractor
        {
            get
            {
                return _extractor;
            }
            set
            {
                _extractor = value;
            }
        }

        #endregion

        #region Private methods

        private void OnIsScanningChanged(bool isScanning)
        {
            scanButton.Enabled = !isScanning;
            cancelScanningButton.Enabled = isScanning;
            refreshListButton.Enabled = !isScanning;
            saveTemplateButton.Enabled = !isScanning;
            saveImageButton.Enabled = !isScanning;
        }

        private bool CancelScanning()
        {
            if (scanWorker.IsBusy)
            {
                DialogResult result = MessageBox.Show(@"Do you want to cancel extraction process ?", @"Confirm cancel", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
                if (result != DialogResult.Yes)
                {
                    return false;
                }

                scanWorker.CancelAsync();

                if (_currentScanner != null)
                {
                    MethodInvoker invoker = new MethodInvoker(_currentScanner.Cancel);
                    IAsyncResult deviceCancelResult = invoker.BeginInvoke(null, null);
                    while (!deviceCancelResult.IsCompleted)
                    {
                        Thread.Sleep(10);
                        Application.DoEvents();
                    }
                    invoker.EndInvoke(deviceCancelResult);
                }

                while (scanWorker.IsBusy)
                {
                    Thread.Sleep(10);
                    Application.DoEvents();
                }
            }

            return true;
        }

        #endregion

        #region Private form events

        private void ScanButtonClick(object sender, EventArgs e)
        {
            NFingerScanner scanner = scannersListBox.SelectedItem as NFingerScanner;
            if (scanner == null)
            {
                MessageBox.Show(@"Please select a scanner from the list.");
                return;
            }

            if (scanWorker.IsBusy)
            {
                MessageBox.Show(@"Scan already in progress.");
                return;
            }

            OnIsScanningChanged(true);
            scanWorker.RunWorkerAsync(scanner);
        }

        private void CancelScanningButtonClick(object sender, EventArgs e)
        {
            cancelScanningButton.Enabled = !CancelScanning();
        }

        private void RefreshListButtonClick(object sender, EventArgs e)
        {
            _deviceMan.Refresh();
            UpdateScannerList();
        }

        private void SaveImageButtonClick(object sender, EventArgs e)
        {
            if (_nfView.Image == null) return;
            saveFileDialog.Filter = NImages.GetSaveFileFilterString();
            saveFileDialog.Title = @"Save Image File";

            if (saveFileDialog.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            string fileName = saveFileDialog.FileName;
            try
            {
                _imageShow.Save(fileName);
            }
            catch (Exception ex)
            {
                MessageBox.Show(string.Format("Error saving to file \"{0}\": {1}", fileName, ex),
                                Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }

        private void SaveTemplateButtonClick(object sender, EventArgs e)
        {
            if (_template == null) return;
            saveFileDialog.Filter = @"Template files (*.dat)|*.dat";
            saveFileDialog.Title = @"Save Template File";
            if (_oldTemplateFilename != string.Empty)
            {
                saveFileDialog.FileName = _oldTemplateFilename;
            }

            if (saveFileDialog.ShowDialog() != DialogResult.OK) return;
            _oldTemplateFilename = saveFileDialog.FileName;

            // save template to file
            File.WriteAllBytes(saveFileDialog.FileName, _template.ToByteArray());
        }

        private void EnrollFromScannerLoad(object sender, EventArgs e)
        {
            try
            {
                // create a FPScannerMan
                _deviceMan = new NDeviceManager(NDeviceType.FingerScanner, true, false, this);
                UpdateScannerList();

                _nfView = new NFView();
                _nfView.Dock = DockStyle.Fill;
                _nfView.AutoScroll = true;
                panel.Controls.Add(_nfView);

                licensePanel.ObtainComponents();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
            saveFileDialog.Filter = NImages.GetSaveFileFilterString();
        }

        private void UpdateScannerList()
        {
            scannersListBox.Items.Clear();
            foreach (NDevice device in _deviceMan.Devices)
            {
                scannersListBox.Items.Add(device);
            }
        }

        private void EnrollFromScannerVisibleChanged(object sender, EventArgs e)
        {
            if (Visible) return;
            if (!scanWorker.IsBusy) return;

            scanWorker.CancelAsync();
            if (_currentScanner != null)
            {
                MethodInvoker invoker = new MethodInvoker(_currentScanner.Cancel);
                invoker.BeginInvoke(null, null);
            }
        }

        private void ScanWorkerDoWork(object sender, DoWorkEventArgs e)
        {
            NFingerScanner scanner = (NFingerScanner)e.Argument;

            _currentScanner = scanner;

            scanner.Preview += new EventHandler<NFScannerPreviewEventArgs>(ScannerPreview);
            try
            {
                e.Result = scanner.Capture();
            }
            finally
            {
                scanner.Preview -= new EventHandler<NFScannerPreviewEventArgs>(ScannerPreview);
            }

            if (((BackgroundWorker)sender).CancellationPending)
            {
                e.Cancel = true;
            }
        }

        private void ScannerPreview(object sender, NFScannerPreviewEventArgs e)
        {
            if (_nfView.Image != null)
            {
                Bitmap oldImage = _nfView.Image;
                _nfView.Image = null;
                oldImage.Dispose();
            }
            if (_nfView.Template != null)
            {
                NFRecord template = _nfView.Template;
                _nfView.Template = null;
                template.Dispose();
            }

            lblQuality.Text = e.Status.ToString();
            if (e.Image != null)
            {
                _nfView.Image = e.Image.ToBitmap();
            }
        }

        private void ScanWorkerRunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            _currentScanner = null;

            if (_nfView.Image != null)
            {
                _nfView.Image.Dispose();
                _nfView.Image = null;
            }
            if (_nfView.Template != null)
            {
                _nfView.Template.Dispose();
                _nfView.Template = null;
            }
            lblQuality.Text = string.Empty;

            OnIsScanningChanged(false);

            if (e.Error != null)
            {
                MessageBox.Show(e.ToString());
                return;
            }

            if (e.Cancelled)
            {
                lblQuality.Text = @"Scanning canceled.";
                return;
            }

            NImage image = e.Result as NImage;
            if (image == null) return;

            _nfView.Width = (int)image.Width;
            _nfView.Height = (int)image.Height;
            _nfView.Image = image.ToBitmap();
            _nfView.Refresh();

            _imageShow = (NGrayscaleImage)image.Clone();
            NGrayscaleImage grayscaleImage = (NGrayscaleImage)image.Clone();
            NFRecord record = null;
            try
            {
                // extract a fingerprint template from the image for showing
                NfeExtractionStatus extractionStatus;
                record = _extractor.Extract(grayscaleImage, NFPosition.Unknown, NFImpressionType.LiveScanPlain, out extractionStatus);
                if (extractionStatus == NfeExtractionStatus.TemplateCreated)
                {
                    lblQuality.Text = string.Format("Quality: {0}", record.Quality);

                    // saves image to byte array
                    _template = record.Save();

                    _nfView.Template = record;
                }
                else
                {
                    lblQuality.Text = string.Empty;

                    MessageBox.Show(@"Fingerprint image is of low quality", Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(string.Format("Extraction error: {0}", ex),
                    Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            if (_template == null || record == null)
            {
                saveTemplateButton.Enabled = false;
                saveImageButton.Enabled = false;
            }
            else
            {
                saveTemplateButton.Enabled = true;
                saveImageButton.Enabled = true;
            }
        }

        #endregion

        private void scannersListBox_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        private void scannersGroupBox_Enter(object sender, EventArgs e)
        {

        }
    }
}

------------------------------------------------------------------------------------------------------------------------------------
*EnrollFromScanner.Designer.cs
Code: Select all
namespace Neurotec.Samples
{
    partial class EnrollFromScanner
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Component Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.lblQuality = new System.Windows.Forms.Label();
            this.toolTip = new System.Windows.Forms.ToolTip(this.components);
            this.saveImageButton = new System.Windows.Forms.Button();
            this.panel = new System.Windows.Forms.Panel();
            this.cancelScanningButton = new System.Windows.Forms.Button();
            this.refreshListButton = new System.Windows.Forms.Button();
            this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
            this.scanButton = new System.Windows.Forms.Button();
            this.scannersGroupBox = new System.Windows.Forms.GroupBox();
            this.scannersListBox = new System.Windows.Forms.ListBox();
            this.saveTemplateButton = new System.Windows.Forms.Button();
            this.scanWorker = new System.ComponentModel.BackgroundWorker();
            this.licensePanel = new Neurotec.Samples.LicensePanel();
            this.scannersGroupBox.SuspendLayout();
            this.SuspendLayout();
            //
            // lblQuality
            //
            this.lblQuality.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.lblQuality.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.lblQuality.Location = new System.Drawing.Point(3, 381);
            this.lblQuality.Name = "lblQuality";
            this.lblQuality.Size = new System.Drawing.Size(783, 20);
            this.lblQuality.TabIndex = 13;
            //
            // saveImageButton
            //
            this.saveImageButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.saveImageButton.Enabled = false;
            this.saveImageButton.Location = new System.Drawing.Point(3, 407);
            this.saveImageButton.Name = "saveImageButton";
            this.saveImageButton.Size = new System.Drawing.Size(97, 23);
            this.saveImageButton.TabIndex = 12;
            this.saveImageButton.Text = "Save &Image";
            this.saveImageButton.UseVisualStyleBackColor = true;
            this.saveImageButton.Click += new System.EventHandler(this.SaveImageButtonClick);
            //
            // panel
            //
            this.panel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.panel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel.Location = new System.Drawing.Point(3, 172);
            this.panel.Name = "panel";
            this.panel.Size = new System.Drawing.Size(783, 206);
            this.panel.TabIndex = 9;
            //
            // cancelScanningButton
            //
            this.cancelScanningButton.Enabled = false;
            this.cancelScanningButton.Location = new System.Drawing.Point(87, 81);
            this.cancelScanningButton.Name = "cancelScanningButton";
            this.cancelScanningButton.Size = new System.Drawing.Size(75, 23);
            this.cancelScanningButton.TabIndex = 11;
            this.cancelScanningButton.Text = "Cancel";
            this.cancelScanningButton.UseVisualStyleBackColor = true;
            this.cancelScanningButton.Click += new System.EventHandler(this.CancelScanningButtonClick);
            //
            // refreshListButton
            //
            this.refreshListButton.Location = new System.Drawing.Point(168, 81);
            this.refreshListButton.Name = "refreshListButton";
            this.refreshListButton.Size = new System.Drawing.Size(75, 23);
            this.refreshListButton.TabIndex = 10;
            this.refreshListButton.Text = "Refresh list";
            this.refreshListButton.UseVisualStyleBackColor = true;
            this.refreshListButton.Click += new System.EventHandler(this.RefreshListButtonClick);
            //
            // scanButton
            //
            this.scanButton.Location = new System.Drawing.Point(6, 81);
            this.scanButton.Name = "scanButton";
            this.scanButton.Size = new System.Drawing.Size(75, 23);
            this.scanButton.TabIndex = 9;
            this.scanButton.Text = "Scan";
            this.scanButton.UseVisualStyleBackColor = true;
            this.scanButton.Click += new System.EventHandler(this.ScanButtonClick);
            //
            // scannersGroupBox
            //
            this.scannersGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.scannersGroupBox.Controls.Add(this.cancelScanningButton);
            this.scannersGroupBox.Controls.Add(this.refreshListButton);
            this.scannersGroupBox.Controls.Add(this.scanButton);
            this.scannersGroupBox.Controls.Add(this.scannersListBox);
            this.scannersGroupBox.Location = new System.Drawing.Point(3, 51);
            this.scannersGroupBox.Name = "scannersGroupBox";
            this.scannersGroupBox.Size = new System.Drawing.Size(783, 115);
            this.scannersGroupBox.TabIndex = 11;
            this.scannersGroupBox.TabStop = false;
            this.scannersGroupBox.Text = "Scanners list";
            this.scannersGroupBox.Enter += new System.EventHandler(this.scannersGroupBox_Enter);
            //
            // scannersListBox
            //
            this.scannersListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.scannersListBox.Location = new System.Drawing.Point(4, 19);
            this.scannersListBox.Name = "scannersListBox";
            this.scannersListBox.Size = new System.Drawing.Size(757, 56);
            this.scannersListBox.TabIndex = 6;
            this.scannersListBox.SelectedIndexChanged += new System.EventHandler(this.scannersListBox_SelectedIndexChanged);
            //
            // saveTemplateButton
            //
            this.saveTemplateButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.saveTemplateButton.Enabled = false;
            this.saveTemplateButton.Location = new System.Drawing.Point(106, 407);
            this.saveTemplateButton.Name = "saveTemplateButton";
            this.saveTemplateButton.Size = new System.Drawing.Size(97, 23);
            this.saveTemplateButton.TabIndex = 10;
            this.saveTemplateButton.Text = "Save t&emplate";
            this.saveTemplateButton.UseVisualStyleBackColor = true;
            this.saveTemplateButton.Click += new System.EventHandler(this.SaveTemplateButtonClick);
            //
            // scanWorker
            //
            this.scanWorker.WorkerSupportsCancellation = true;
            this.scanWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.ScanWorkerDoWork);
            this.scanWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.ScanWorkerRunWorkerCompleted);
            //
            // licensePanel
            //
            this.licensePanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.licensePanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.licensePanel.Location = new System.Drawing.Point(3, 0);
            this.licensePanel.Name = "licensePanel";
            this.licensePanel.OptionalComponents = "Images.WSQ";
            this.licensePanel.RequiredComponents = "Biometrics.FingerExtraction,Devices.FingerScanners";
            this.licensePanel.Size = new System.Drawing.Size(783, 45);
            this.licensePanel.TabIndex = 15;
            //
            // EnrollFromScanner
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.licensePanel);
            this.Controls.Add(this.lblQuality);
            this.Controls.Add(this.saveImageButton);
            this.Controls.Add(this.panel);
            this.Controls.Add(this.scannersGroupBox);
            this.Controls.Add(this.saveTemplateButton);
            this.Name = "EnrollFromScanner";
            this.Size = new System.Drawing.Size(808, 436);
            this.Load += new System.EventHandler(this.EnrollFromScannerLoad);
            this.VisibleChanged += new System.EventHandler(this.EnrollFromScannerVisibleChanged);
            this.scannersGroupBox.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Label lblQuality;
        private System.Windows.Forms.ToolTip toolTip;
        private System.Windows.Forms.Button saveImageButton;
        private System.Windows.Forms.Panel panel;
        private System.Windows.Forms.Button cancelScanningButton;
        private System.Windows.Forms.Button refreshListButton;
        private System.Windows.Forms.SaveFileDialog saveFileDialog;
        private System.Windows.Forms.Button scanButton;
        private System.Windows.Forms.GroupBox scannersGroupBox;
        private System.Windows.Forms.ListBox scannersListBox;
        private System.Windows.Forms.Button saveTemplateButton;
        private System.ComponentModel.BackgroundWorker scanWorker;
        private Neurotec.Samples.LicensePanel licensePanel;
    }
}


-----------------------------------------------------------------------------------------------------------------------------------------------------

Re: NotActivatedException was unhandled by user code

PostPosted: Jul 03, 2012 14:28
by Martynas
Hi,

is the not modified sample working?

PunitMPatel622 wrote:In case if you feel this way is not proper please provide me a way through which I can sent you zip of the solution created by me so that you can run the project and recreate the error.

You are welcome to send your solution to support@neurotechnology.com with detailed description of the issue.

Licensing questions about time period, upgrades

PostPosted: Jul 10, 2012 18:45
by jacobg
Hi,

I'm putting my plan together to purchase the Verilook Extended SDK with concurrent licenses for Face Client and Face Matcher. A few questions:

1) Is a license forever?
2) Do licenses include unlimited upgrades to new versions?
3) Is support a separate cost, or is it included with a licenses unlimited and forever?
4) I'm planning to run server components on Amazon Web Services EC2 instances. As I understand it, each instance would have its own licensing manager dongle with a single concurrent license installed. Is that correct? What happens when an instance is replaced? Do I need to contact you, or can an automated script attach the license on a new instance? Is this done without an internet connection, i.e., to Neurotechnology servers?

Thanks.

Admin: merged to "Activation and Licensing questions"

Re: Licensing questions about time period, upgrades

PostPosted: Jul 11, 2012 13:35
by vaidasz
Hello,

jacobg wrote:1) Is a license forever?

Yes, license is obtained forever.
jacobg wrote:2) Do licenses include unlimited upgrades to new versions?

Yes, they do. SDK update is free of charge.
jacobg wrote:3) Is support a separate cost, or is it included with a licenses unlimited and forever?

Support is free of charge.
jacobg wrote:4) I'm planning to run server components on Amazon Web Services EC2 instances. As I understand it, each instance would have its own licensing manager dongle with a single concurrent license installed. Is that correct? What happens when an instance is replaced? Do I need to contact you, or can an automated script attach the license on a new instance? Is this done without an internet connection, i.e., to Neurotechnology servers?

It is possible to use file licenses or dongle.
File licenses have to be activated using the serial number that you get when SDK and/or licenses are purchased. Concurrent licenses are only Face Client licenses. The difference between concurrent and non-concurrent licenses is that once the concurrent license is released by the application it becomes available for another computer to obtain it. Once the single computer license is obtained it is assigned for that computer for one day (so other computer cannot obtain license when it is released).
using file license it is more complicated when hardware got damaged or you need to transfer license to another computer.
When you use dongle you do not need to activate licenses. It is also easy to transfer licenses to another computer - you just re-plug the dongle to another computer. The only disadvantage of dongle is that it should be connected to the device all the time. And in some project it is not impossible to use it.
If you use dongle, you can also share licenses over network. That means one computer could have dongle with all necessary licenses plugged in into some computer and devices obtain licenses over network.

Re: Licensing questions about time period, upgrades

PostPosted: Jul 11, 2012 14:42
by jacobg
Thanks. I realized I totally misunderstood what your docs mean by "dongle". I thought it meant the pgd executable running as a localhost server on each computer running your library. Your post implies it is a hardware dongle (maybe a usb key) plugged into computer.

So what would you recommend as the licensing method for AWS? I'm hoping whatever method I use will have the following characteristics:
1) it does need NOT to call your server (or any internet dependency outside of my network)
2) uncomplicated to re-assign license to another VM instance

Re: Licensing questions about time period, upgrades

PostPosted: Jul 12, 2012 12:08
by vaidasz
jacobg wrote:Thanks. I realized I totally misunderstood what your docs mean by "dongle". I thought it meant the pgd executable running as a localhost server on each computer running your library. Your post implies it is a hardware dongle (maybe a usb key) plugged into computer.

So what would you recommend as the licensing method for AWS? I'm hoping whatever method I use will have the following characteristics:
1) it does need NOT to call your server (or any internet dependency outside of my network)


Hello,

Dongle is like usb flash drive that has licenses in it. See Wikipedia article about dongles for some basic info.
Licenses provided as serial numbers could not be used on VMs. Even if you are able to activate license on VM it might stop working any time.
Our licensing service should be started at least on one computer to be able to license SDK and/or it's components. If you start licensing service on one computer and have dongle connected to it you can share licenses over network (let's call this computer Dongle Server). Dongle Client computer could obtain license directly from Dongle Server - no need to start licensing service on Dongle Client computer. In such case you have to modify your source code to obtain license from specific computer (the IP address of Dongle Server). If you start licensing service on Dongle Client computer then you need to configure licensing service to obtain licenses from Dongle Server. Licensing service configuration could be made using Activation Wizard if you use Windows OS. Please note, that Dongle Server should be reachable for Dongle Client computers.
Either using file licenses or dongle it is not needed constant internet connection. So you can use it without any issue in your local network.

2) uncomplicated to re-assign license to another VM instance

I do not understand. Please be more specific and explain in more details.

Re: Licensing questions about time period, upgrades

PostPosted: Jul 12, 2012 12:33
by jacobg
I'm about to email support@neurotechnology.com with my questions, to hopefully figure out my licensing solution faster. I tried calling your phone #'s, but they disconnect.

Re: Licensing questions about time period, upgrades

PostPosted: Jul 13, 2012 07:26
by vaidasz
jacobg wrote:I'm about to email support@neurotechnology.com with my questions, to hopefully figure out my licensing solution faster. I tried calling your phone #'s, but they disconnect.


Hello,

It is strange that our phone was disconnected. We didn't have any issues with our phone line.
But as I know you have already contacted Irmantas and found out everything you wanted to know.

Dongle licensing question

PostPosted: Jul 17, 2012 03:33
by suleha
Hi,

I have purchased one Verilook Single Computer license, and have no problem using it.
But now, I would like to change the Single Computer License, to dongle license (so that I can use on other computer).
Do I need to pay extra for the dongle, or how do I do the change the license.
FYI, I just need one license, but in dongle form.
Please help, thank you.

Re: Dongle licensing question

PostPosted: Jul 17, 2012 07:51
by vaidasz
suleha wrote:Hi,

I have purchased one Verilook Single Computer license, and have no problem using it.
But now, I would like to change the Single Computer License, to dongle license (so that I can use on other computer).
Do I need to pay extra for the dongle, or how do I do the change the license.
FYI, I just need one license, but in dongle form.
Please help, thank you.


Hello,

Single computer licenses can be transferred to another computer. You have to proceed some steps (i will send you and e-mail shortly) for instructions.
So it is no need to use dongle to be able to transfer license to another computer.
But if you still want to use dongle, you need to buy it. One dongle costs 16 EUR + shipping. To order dongles use our website (http://www.neurotechnology.com/cgi-bin/order.cgi) or contact our sales department (sales@neurotechnology.com).

[Licensing] Access Violation

PostPosted: Jul 20, 2012 06:50
by pricillalatha
I have downloaded VeriFinger SDK, and try to develop small application and implement into the embedded windows 7 PC. Successfully I developed and tried to implement in Embedded Windows 7 PC , I am getting error AccessViolationException : Attempted to read or write protected memory. I can run this application only in my PC.

Now my doubt is

1) Is this Free SDK license only for single computer license? Because I was trying to run every development PC but failed to run with these error.
2) If yes then if we are buying one license cannot use all our Embedded PC.


Any one help me to rectify this issue.

Admin: merged to "Activation and Licensing questions"

[Licensing] License

PostPosted: Jul 20, 2012 10:34
by mbogliacino
I'm testing the VeriFinger Extended 6.4 trial version, and when I want to obtain licenses with

NLicense.ObtainComponents("/local", 5000, "Biometrics.FingerExtraction")

I get an exception "An exception occurred in the type initializer for 'Neurotec.NCore'"

My trial activation log
Code: Select all
============ Trial Information ============
Time left for trial products:
FingerMatcher: about 4 week(s)
Server: about 5 week(s)
FingerExtractor: about 4 week(s)
FaceClient: about 5 week(s)
FaceExtractor: about 5 week(s)
FingerClient: about 4 week(s)
FaceMatcher: about 5 week(s)
FingerFastMatcher: about 5 week(s)
VeriFinger: about 5 week(s)
VoiceClient: about 5 week(s)
VoiceExtractor: about 5 week(s)
PalmClient: about 5 week(s)
IrisClient: about 5 week(s)
IrisExtractor: about 5 week(s)
FaceFastMatcher: about 5 week(s)
IrisMatcher: about 5 week(s)
PalmMatcher: about 5 week(s)
VoiceMatcher: about 5 week(s)
IrisFastMatcher: about 5 week(s)
Cluster: about 5 week(s)

Trial time left: Bad data received from server.
============================================

============ Product registration ============

Component info:
Microsoft .NET Framework: Ver 2.0.50727.3053
ActivationWizardDotNetTrial version: Ver 4.2.0.0, Created: 2012-05-19 13:23:04

Started obtain: 20/07/2012 07:22:14 a.m.

License for Fingerprint Extractor is obtained: True
License for Fingerprint Client is obtained: True
License for Face Extractor is obtained: True
License for Face Client is obtained: True
License for Iris Extractor is obtained: False
License for Iris Client is obtained: False
License for Palmprint Client is obtained: False
License for Voice Extractor is obtained: False
License for Voice Client is obtained: False
License for VeriFinger is obtained: False
License for Fingerprint Matcher is obtained: True
License for Fingerprint Fast Matcher is obtained: False
License for Face Matcher is obtained: True
License for Face Fast Matcher is obtained: True
License for Iris Matcher is obtained: True
License for Iris Fast Matcher is obtained: False
License for Palmprint Matcher is obtained: True
License for Voice Matcher is obtained: True
License for Server is obtained: True
License for Cluster is obtained: True

Finished obtain: 20/07/2012 07:22:43 a.m.


Admin: merged to "Activation and Licensing questions"