Click here to Skip to main content
15,888,065 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Finger Print Scanner Code in C#.net
code for scan finger from the scanner n display to the image control
Posted
Updated 10-Dec-13 21:52pm
v2
Comments
BillWoodruff 11-Dec-13 3:31am    
CodeProject is your friend:

http://www.codeproject.com/Articles/97590/A-Framework-in-C-for-Fingerprint-Verification

Do you have a question ?
jackspero18 11-Dec-13 3:44am    
No i want just image from my scanner n i want to save that image simple
jackspero18 11-Dec-13 3:55am    
Its not scanning finger.....
Sadique KT 11-Dec-13 4:12am    
Check out the protocol to communicate with the device..??
You have to pass the datapacket through serialport or through socket to scan and download the template , status etc.. from the device.
This is the way that i did in my application
jackspero18 11-Dec-13 4:22am    
please can u provide my Code

Hi,
I've no experience of fingerprint scanner, but if it works the same way as a
scanner you could try the following if you're using XP.

In your project, add a reference to Microsoft Windows Image Acquisition
Library v2.0.

To use the wizard to scan an image, try

WIA.CommonDialog dialog = new WIA.CommonDialogClass();
WIA.Device device = dialog.ShowSelectDevice(
WIA.WiaDeviceType.ScannerDeviceType, true, false);
dialog.ShowAcquisitionWizard(device);

Alternatively, the following code allows you to scan the image and
programmically control where it is saved.

WIA.CommonDialog dialog = new WIA.CommonDialogClass();
WIA.ImageFile file = dialog.ShowAcquireImage(
WIA.WiaDeviceType.ScannerDeviceType,
WIA.WiaImageIntent.UnspecifiedIntent,
WIA.WiaImageBias.MaximizeQuality,
WIA.FormatID.wiaFormatJPEG,
true, true, false);
file.SaveFile(@"c:\myimage." + file.FileExtension);
Yours Farhad.
 
Share this answer
 
Comments
jackspero18 11-Dec-13 4:23am    
Error
Exception from HRESULT: 0x80210015
You can read this article - .NET TWAIN image scanner[^]
 
Share this answer
 
Comments
Member 14048650 16-Feb-24 3:00am    
Thanks for you solutions.Could you provide me with python version?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900