예제 #1
0
        public JsonResult ReadCardName()
        {
            RFID.NFCReader rf = new RFID.NFCReader();
            rf.Connect();
            var _ıd = rf.GetReadersList()[0];

            rf.Disconnect();
            return(Json(_ıd));
        }
예제 #2
0
        public JsonResult ReadCard()
        {
            RFID.NFCReader rf = new RFID.NFCReader();
            rf.Connect();
            var _ıd = rf.GetCardUID();

            rf.Disconnect();
            return(Json(_ıd));
        }