예제 #1
0
 public D8Reader(int port, int baud, CardType cardType)
 {
     this.port     = port;
     this.baud     = baud;
     this.hReader  = -1;
     this.cardType = cardType;
 }
예제 #2
0
 static extern short dc_authentication_passaddr(DEV_HANDLER hReader, byte mode, byte block, [In] byte[] pin);
예제 #3
0
 static extern short dc_write(DEV_HANDLER hReader, byte block, [In] byte[] inData);
예제 #4
0
 static extern short dc_read(DEV_HANDLER hReader, byte block, [Out] byte[] outData);
예제 #5
0
 public static extern short dc_changeb3(DEV_HANDLER hReader, byte sector, [In] byte[] keyA, byte b0, byte b1, byte b2, byte b3, byte bk, [In] byte[] keyB);
예제 #6
0
 static extern short dc_card_n(DEV_HANDLER hReader, byte mode, ref uint cardIdLen, [Out] byte[] cardId);
예제 #7
0
 static extern short dc_select(DEV_HANDLER hReader, byte[] cardId, ref byte sak);
예제 #8
0
 static extern short dc_anticoll(DEV_HANDLER hReader, byte bcnt, [Out] byte[] cardId);
예제 #9
0
 static extern short dc_request(DEV_HANDLER hReader, byte mode, ref ushort atqa);
예제 #10
0
 static extern short dc_config_card(DEV_HANDLER hReader, char cardType);
예제 #11
0
 static extern short dc_reset(DEV_HANDLER hReader, ushort msec);
예제 #12
0
 static extern short dc_getver(DEV_HANDLER hReader, [Out] byte[] version);
예제 #13
0
 static extern short dc_light(DEV_HANDLER hReader, ushort flag);
예제 #14
0
 static extern short dc_beep(DEV_HANDLER hReader, ushort duration);
예제 #15
0
 static extern short dc_exit(DEV_HANDLER hReader);