C# Класс Cryptid.Scanners.FpsGt511C1R

This class acts as a C# interface for the C++ driver for the FpsGt511C1R fingerprint scanner.
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetImageFromBytes ( byte data, int width, int height ) : Bitmap

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

Описание методов

Close() публичный статический Метод

Closes the stream to the fingerprint scanner
public static Close ( ) : int
Результат int

GetImage() публичный статический Метод

Read an image from the fingerprint scanner
public static GetImage ( ) : Bitmap
Результат System.Drawing.Bitmap

GetRawImage() публичный статический Метод

Read a raw image from the fingerprint scanner
public static GetRawImage ( ) : Bitmap
Результат System.Drawing.Bitmap

IsPressingFinger() публичный статический Метод

Checks whther or not the uset is pressing their finger on the fingerprint scanner
public static IsPressingFinger ( ) : bool
Результат bool

Open() публичный статический Метод

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
Результат int

SetCmosLed() публичный статический Метод

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
Результат int