Esempio n. 1
0
        public string getDLXInfoRD()
        {
            byte[] data = new byte[1024];
            RDNID.getDLXInfoRD(data);
            String s = RDNID.aByteToString(data);

            return(s);
        }
Esempio n. 2
0
        public string getNIDNumber()
        {
            byte[] id = new byte[30];
            if (RDNID.getNIDNumberRD(mCard, id) != DefineConstants.NID_SUCCESS)
            {
                return("");
            }
            String s = RDNID.aByteToString(id);

            return(s);
        }
Esempio n. 3
0
        //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);
        }
Esempio n. 4
0
        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);
        }