C# Class Cryptid.Scanners.FpsGt511C1R

This class acts as a C# interface for the C++ driver for the FpsGt511C1R fingerprint scanner.
Mostrar archivo Open project: CryptidID/Cryptid

Public Methods

Method Description
Close ( ) : int

Closes the stream to the fingerprint scanner

GetImage ( ) : Bitmap

Read an image from the fingerprint scanner

GetRawImage ( ) : Bitmap

Read a raw image from the fingerprint scanner

IsPressingFinger ( ) : bool

Checks whther or not the uset is pressing their finger on the fingerprint scanner

Open ( int port, int baud ) : int

Opens a stream to the fingerprint scanner on the specified port with the specified baudrate

SetCmosLed ( bool b ) : int

Set the fingerprint scanner LED to be on or off

Private Methods

Method Description
GetImageFromBytes ( byte data, int width, int height ) : Bitmap

Gets a Bitmap of a provided width and height from an array of bytes

Method Details

Close() public static method

Closes the stream to the fingerprint scanner
public static Close ( ) : int
return int

GetImage() public static method

Read an image from the fingerprint scanner
public static GetImage ( ) : Bitmap
return System.Drawing.Bitmap

GetRawImage() public static method

Read a raw image from the fingerprint scanner
public static GetRawImage ( ) : Bitmap
return System.Drawing.Bitmap

IsPressingFinger() public static method

Checks whther or not the uset is pressing their finger on the fingerprint scanner
public static IsPressingFinger ( ) : bool
return bool

Open() public static method

Opens a stream to the fingerprint scanner on the specified port with the specified baudrate
public static Open ( int port, int baud ) : int
port int The port to connect on
baud int The baudrate to use
return int

SetCmosLed() public static method

Set the fingerprint scanner LED to be on or off
public static SetCmosLed ( bool b ) : int
b bool Whether or not the LED should be on
return int