forked from JcBernack/WinBioNET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ApiInformation.txt
40 lines (33 loc) · 2.16 KB
/
ApiInformation.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## About sensor pools
# Using a system pool
Identities are using the windows account SID.
An identity can hold one unique template for each sub-factor.
New templates are always enrolled for the identity of the current windows user.
# Using a private pool
Identities are using unique GUIDs.
An identity always holds a single unique template for one sub-factor.
New templates always create a new identity.
## Registry structure
# Device configurations are stored at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ + unit.DeviceInstanceId + \Device Parameters\WinBio\Configurations\ + number
where number is a zero-based increasing index
and unit.DeviceInstanceId is something like: USB\VID_1C7A&PID_0603\6&efec896&0&3
# Databases are stored at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WbioSrvc\Databases\{ + DatabaseId + }
where DatabaseId is a Guid
# Device configuration fields are:
DWORD SensorMode Insert 1 or 2 for WinBioSensorMode.Basic and Advanced.
DWORD SystemSensor Insert 0, a value of 1 corresponds to the system pool.
SZ DatabaseId Insert Guid of corresponding database (without braces).
SZ SensorAdapterBinary Insert path to dll, copy from default configuration.
SZ EngineAdapterBinary Insert path to dll, copy from default configuration.
SZ StorageAdapterBinary Insert path to dll, copy from default configuration.
# Database fields are:
DWORD Attributes Insert 1 for WinBioDatabaseFlag.TypeFile. Probably can contain any value of WinBioDatabaseFlag.
DWORD AutoCreate Insert 1.
DWORD AutoName Insert 1, will be set to 0 upon database creation.
DWORD BiometricType Insert 8 for WinBioBiometricType.Fingerprint.
SZ ConnectionString Insert empty string. Probably used if something other than WinBioDatabaseFlag.TypeFile is used.
SZ FilePath Insert empty string, will be set by the storage adapter to the path of the database file on creation.
SZ Format Insert an empty Guid: "00000000-0000-0000-0000-000000000000". No idea what it means.
DWORD InitialSize Insert (int)32. No idea what it actually means. Size of what? I what unit?