C# Class Cryptid.Scanners.FpsGt511C1R

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

Closes the stream to the fingerprint scanner
public static Close ( ) : int
Résultat int

GetImage() public static méthode

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

GetRawImage() public static méthode

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

IsPressingFinger() public static méthode

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

Open() public static méthode

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
Résultat int

SetCmosLed() public static méthode

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
Résultat int