public string getDLXInfoRD() { byte[] data = new byte[1024]; RDNID.getDLXInfoRD(data); String s = RDNID.aByteToString(data); return(s); }
public string getNIDNumber() { byte[] id = new byte[30]; if (RDNID.getNIDNumberRD(mCard, id) != DefineConstants.NID_SUCCESS) { return(""); } String s = RDNID.aByteToString(id); return(s); }
//get national card id public string getNIDData() { byte[] data = new byte[1024]; if (RDNID.getNIDDataRD(mCard, data, data.Length) != DefineConstants.NID_SUCCESS) { return(""); } String s = RDNID.aByteToString(data); return(s); }
static public String[] getReaderListRD() { byte[] szReaders = new byte[1024 * 2]; int size = szReaders.Length; int numreader = RDNID.getReaderListRD(szReaders, size); if (numreader <= 0) { return(null); } String s = RDNID.aByteToString(szReaders); string[] readerlist = s.Split(';'); return(readerlist); }
public Int32 isCardInsert() { return(RDNID.isCardInsertRD(mCard)); }
public Int32 deselectReader() { return(RDNID.deselectReaderRD(mCard)); }
public Int32 disconnectCard() { return(RDNID.disconnectCardRD(mCard)); }
public IntPtr selectReader(String reader) { byte[] _reader = String2Byte(reader); mCard = RDNID.selectReaderRD(_reader); return(mCard); }