예제 #1
0
        /// <summary>
        /// TClose connection with the Mifare Card
        /// </summary>
        /// <returns>SUCCESS or  MifareStatusCode</returns>
        public int DisconnectCard()

        {
            int status = scardr.DisconnectCard();

            if (status == 0)
            {
                status = MifareStatusCodes.SUCCESS;
            }
            else
            {
                status = MifareStatusCodes.CARD_NOT_PRESENT;
            }
            return(status);
        }