How does the M100 automatic throughput reader/writer reader read the social security card number through function calls in the C# program?

How does the M100 automatic throughput reader/writer reader read the social security card number in the C# program through function calls?

1. M100 automatic throughput reader can read it through M100 demo program, click "read social security card number", as shown in the figure below:

2. How to call the function through C# program and read the social security card number?

2.1. Move the card to the IC card position first, and then call this interface

int __stdcall M100_AutoReadSocialSecurityInfoAndCardID(HANDLE ComHandle,BYTE IDNum[18],BYTE Name[30],BYTE *Sex,BYTE *Nation,BYTE Regional[3],BYTE BirthDay[4],BYTE CardID[9]);

2.2, function declaration

2.3, function call

2.4. Confirmation card and test tool

That is, confirm that the test card is readable social security information with the manufacturer's tool

They are the tools of our manufacturer and the data you call

2.5, the test tool to read the card number to capture the data analysis of the com port

Extract the social security card number and call the interface function:

int __stdcall M100_AutoReadSocialSecurityCardID (HANDLE ComHandle, BYTE CardID [9]);

It can be realized that under the C# program, the M100 automatic throughput reader can read the social security card number.

Guess you like

Origin blog.csdn.net/Alex88389516/article/details/109308140