Solved

fingerprint scanner in web application

Posted on 2006-11-21
8
2,380 Views
Last Modified: 2012-06-27
hi,
I am new to C# and i have trying to develop a web application which retrieves the Fingerprint scan and stores it in the database.I am using visual studio 2005 and C# to develop  it. The fingerprint scanner i m using has a AES4000 sensor manufactured by authentec. I need help in getting the fingerprint image. Any suggestions would grealty be appreciated.

Thanks
Deepthi
0
Comment
Question by:chili_choudary
  • 4
  • 3
8 Comments
 
LVL 5

Expert Comment

by:pdotnet
Comment Utility
The first obstacle is to find out if Authentec provide an API (application program interface) for their hardware.  I looked at their website, there's no mention of one so I suggest you contact them and ask.  Without an API, it makes interfacing with proprietary hardware very difficult.  You'd most likely need to use a lower level, non-managed language to do it like C or C++ if you have to write your own.

The second obstacle is that you want to interface with local client hardware through a web browser.  When you say you want a WEB application to retrieve a fingerprint scan - I'm assuming that you mean the client user who is using the web application through their browser has a fingerprint scanner connected to their local computer?  This makes things even more difficult because now you're going to need to run machine code that executes on the client side when normally web applications execute on the server only.  To do this, you'd probably be looking at writing an ActiveX control or browser plug-in.

If this doesn't HAVE to be a web application, I would suggest that you instead consider writing a Windows application to interface with the device, scan the fingerprint image and then either use .NET Remoting, a Web Service or just plain old TCP connection to your database server to upload the picture.  

So, capture the image using a Windows Forms application and send the data through the Internet to your database.  That would be the easiest alternative.  What you’re suggesting I’m not even sure can be done, at least not without a significant amount of work and an in-depth knowledge of the scanner hardware.
0
 

Author Comment

by:chili_choudary
Comment Utility
hi,
retrieving the image is just a small part of the project i m working on. this is actually for a software kind thing which will hosted over the internet  and there will be many people using it. As far as i have know about API required, there is something called as verifinger SDK which will work as the interface. It has all the scanner classes and dll's that will be required to retrieve the image.But i m not sure how to use them. I already got the code for this project in a windows application using vb. but i wan this in web application using C#. this is for my final project in masters. So badly in need of help.

Thanks
Deepthi
0
 
LVL 5

Expert Comment

by:pdotnet
Comment Utility
Deepthi,

Well the good news is the Verifinger SDK is compatible with .NET so you should be able to reference it in your project without issue.

I downloaded the demo of the SDK to poke around and see what's going on and it's a pretty in-depth library.  Without the hardware, I can't run the samples, but the good news is it's well documented, see VeriFinger_5_0_Standard_SDK_Trial\documentation\VeriFinger.pdf  Chapter 7 is all about how to use the SDK in .NET  

Lastly you said you were new to C#, there are a number of things you can try to get a head start on converting your vb app to C#, one of them is this VB to C# syntax converter:

http://www.developerfusion.co.uk/utilities/convertvbtocsharp.aspx

The fact that you've got a working project in VB for windows makes things much easier as most of the implementation work with the SDK is likely already done.  Try the syntax converter link (some tweaking of your code may be required).  As for how to write a Web application using C#, I don't think there's enough room in this text box to explain it.  You'd be better off to buy a crash course book on ASP.NET using C#, one of those teach yourself in 24 hours books.

Also, take a look at the samples folder in the SDK demo download, they what looks like a complete project that interfaces with the hardware to scan finger prints and also match them.

http://www.neurotechnologija.com/download.html

0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:chili_choudary
Comment Utility
hi,
Thanx for taking time to help me out. well i have gone through everything you told me. But i am stuck up an another point again. There is a .dll file named Neurotec.Biometrics.FPScannerMan.dll  which i already added to my project and imported into the application code. But there is a class named FPScanner which is not letting me create a object. Is there a specific way to create a object for the class specified in a .dll?

Thanks
Deepthi
0
 
LVL 5

Expert Comment

by:pdotnet
Comment Utility
Sounds like you're missing a namespace reference at the top of your working class.

The FPScanner class is contained inside namespace "Neurotec.Biometrics"

Assuming you have "Neurotec.Biometrics.FPScannerMan.dll" as a project reference, you could either instantiate a new Object using the fully qualified namepsace hierarchy:

Neurotec.Biometrics.FPScanner objScanner = new Neurotec.Biometrics.FPScanner();  

OR, add a "using" statement at the top of the class you're working on. look for "using System;" at the top and add the following reference underneath your other namespace references.

Like this:  using Neurotec.Biometrics;

Then you can instantiate an object as part of the local namespace, like so:

FPScanner objScanner = new FPScanner();  

0
 

Author Comment

by:chili_choudary
Comment Utility
hi,
I tried out everything, but the thing is it says that the FPScanner has no constructor defined. what will be my other options to instantiate the object for the FPScanner class. How will i be able to access the methods of the class with out creating the object?

Thanks
Deepthi
0
 
LVL 5

Accepted Solution

by:
pdotnet earned 500 total points
Comment Utility
Deepthi,

It looks like you don't declare FPScanner objects yourself.  There is another class called FPScannerMan (probably stands for Manager) that automatically detects the scanner device(s) attached to your computer and makes them accessible via an ArrayList property called .Scanners

There is some sample code listed in the API that shows you how to access the FPScanner objects inside the manager collection:

// 'this' being any object that implements ISynchronizeInvoke interface
FPScannerMan scannerMan = new FPScannerMan(this);

foreach (FPScanner scanner in scannerMan.Scanners)
{
     // access each FPScanner object in the collection
}

Please see FPScannersOptionsForm.cs from the SDK tutorial for full details on how they're using the FPScannerMan to manage the FPScanner objects.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to dynamically set the form action using jQuery.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now